-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev 3.x update dockerfile #8845
Dev 3.x update dockerfile #8845
Conversation
Hi @Nioolek , |
Hello, I added some explanations in Dockerfile. Please review it again. |
Hi @Nioolek You can do that simply by first setting the pull strategy as rebase
Then you can pull the most recent dev-3.x by |
@Nioolek Please sync the lastest dev-3.x |
3c87d6a
to
01bac2a
Compare
I rebased my branch to dev-3.x |
Hi @Nioolek By the way, I have tried your Dockerfile and got the following error. root@c1611f2348d5:/mmdetection# python tools/train.py my_config.py
Traceback (most recent call last):
File "tools/train.py", line 12, in <module>
from mmdet.utils import register_all_modules
File "/mmdetection/mmdet/__init__.py", line 23, in <module>
f'MMEngine=={mmengine.__version__} is used but incompatible. ' \
AssertionError: MMEngine==0.2.0 is used but incompatible. Please install mmengine>=0.0.0, <0.2.0. I think Dockerfile has to specify RUN pip install openmim && \
mim install "mmengine==0.1.0" "mmcv>=2.0.0rc1" Could you consider integrating the modification above? Thanks. |
a643466
to
a5f61b0
Compare
Thank you for your suggestion. I update the Dockerfile. Now, the mmengine must use version 0.0.2. |
… update commands (open-mmlab#8845) * update Dockerfile * update Dockerfile * add explanation for Dockerfile * make docker small * format code * update version of `mmengine`
… update commands (open-mmlab#8845) * update Dockerfile * update Dockerfile * add explanation for Dockerfile * make docker small * format code * update version of `mmengine`
… update commands (open-mmlab#8845) * update Dockerfile * update Dockerfile * add explanation for Dockerfile * make docker small * format code * update version of `mmengine`
Motivation
Public GPG key error
while build the docker.More details can be seen in :
https://github.com/NVIDIA/nvidia-docker/issues/1631
I tested the docker can be built successfully and inference successfully.
![image](https://user-images.githubusercontent.com/40284075/191272284-ff4d74d2-1659-49f9-894e-cbbdadfaa62b.png)
My environment:
Docker version 20.10.5
nvidia-docker
GPU: 2*A100
Modification
Modify:
docker/Dockerfile
docker/serve/Dockerfile
docs/zh_cn/get_started.md
docs/en/get_started.md
Checklist