-
Notifications
You must be signed in to change notification settings - Fork 22
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
nndet prep_train
fails using local Dockerfile
#38
Comments
Hello Alexandre, Thanks for pointing out this issue! You are indeed correct, the build throws the following error: ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
tensorboard 2.12.0 requires protobuf>=3.19.6, but you'll have protobuf 3.14.0 which is incompatible.
requests 2.24.0 requires urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1, but you'll have urllib3 1.26.14 which is incompatible.
torchmetrics 0.11.1 requires torch>=1.8.1, but you'll have torch 1.8.0a0+1606899 which is incompatible.
shap 0.41.0 requires packaging>20.9, but you'll have packaging 20.4 which is incompatible.
docker 6.0.1 requires requests>=2.26.0, but you'll have requests 2.24.0 which is incompatible.
mlxtend 0.21.0 requires scikit-learn>=1.0.2, but you'll have scikit-learn 0.23.2 which is incompatible. I've seen this error before, it's caused by the update of dependencies (e.g., mlxtend==0.19.0
tensorboard==2.11.0
requests==2.28.1
torchmetrics==0.7.3
docker==6.0.1
packaging==20.4
mlflow==1.30.0 I've updated the repository such that the latest version builds successfully: https://github.com/DIAGNijmegen/picai_baseline/tree/main/src/picai_baseline/nndetection/training_docker Could you try again with the updated requirements.txt? |
Hi @joeranbosma, Sorry for my late answer, I came across issues after updating the requirements. I had to do the following extra steps:
In the end, I added:
to the Dockerfile and the Alexandre |
This indeed did the trick! This fix will be integrated in #48. |
Hello,
When trying to run your Docker version of the nnDetection network:
The preprocessing steps worked well but when running the Docker command of
nndet prep_train
:I have the following error message:
However, if I use the version from Docker Hub:
docker run ... nndet prep_train
will run without issue. I believe there might be an issue when installing the dependencies in the Dockerfile but I was not able to find what was causing the issue.Best,
Alexandre
The text was updated successfully, but these errors were encountered: