Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
stark 7b0a7894ca | 1 year ago | |
---|---|---|
.. | ||
Dockerfile | 1 year ago | |
Dockerfile-circleci | 1 year ago | |
README.md | 1 year ago | |
docker-compose.yml | 1 year ago |
cd docker/
# Build:
docker build --build-arg USER_ID=$UID -t detectron2:v0 .
# Run:
docker run --gpus all -it \
--shm-size=8gb --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
--name=detectron2 detectron2:v0
# Grant docker access to host X server to show images
xhost +local:`docker inspect --format='{{ .Config.Hostname }}' detectron2`
Install docker-compose and nvidia-docker2, then run:
cd docker && USER_ID=$UID docker-compose run detectron2
You can prevent models from being re-downloaded on every run,
by storing them in a cache directory.
To do this, add --volume=$HOME/.torch/fvcore_cache:/tmp:rw
in the run command.
Add the following to Dockerfile
to make persistent changes.
RUN sudo apt-get update && sudo apt-get install -y vim
Or run them in the container to make temporary changes.
No Description
Python Cuda C++ Markdown other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》