Closed EmilieDel closed 2 years ago
For future reference, I was able to build the image on my Macbook M1 with this command
cd docker
DOCKER_BUILDKIT=0 docker build -f Dockerfile -t deepatlas --platform linux/amd64 .
I mounted the folder with the source code when docker run
.
I currently get the following error/warning when full_pipeline.py
does interpolation
https://discuss.pytorch.org/t/bug-w-nnpack-cpp-80-could-not-initialize-nnpack-reason-unsupported-hardware/107518
Fixes #49.
A few ideas for improving our Docker setup.
Dockerfile
ordeep_atlas.Dockerfile
(w/o theDockerfile
extension, the file format is not recognized)root
user (e.g. see what done inmorphoclass
here). In general, running Docker images asroot
is quite dangerous, and allows the creation of files that then are impossible to remove (unless you'reroot
).docker/
directory (e.g. see what done inmorphoclass
here).README.md
(e.g. something like this text).docker build
anddocker run
work on Apple M1.