anibali / margipose

3D monocular human pose estimation
Apache License 2.0
98 stars 20 forks source link

Training script stuck at Building main #12

Closed jaggernaut007 closed 4 years ago

jaggernaut007 commented 4 years ago

The docker compose build seems to be stuck at building main . This has been stuck for more than two hours now. have restarted this many times thinking it ws stuck.. How long does it usually take. i am running it on the Intel Xeon processor, with V100 GPU.

jaggernaut007 commented 4 years ago

Fixed this. Changed the .dockerignore file! phew.

anibali commented 4 years ago

For anyone reading this in the future, a common reason for this is having one or more datasets located in the same directory as the rest of the project files (eg if you create a datasets/ directory as a sibling of Dockerfile and prepare datasets in there). This will cause Docker to add all of the dataset files to the "build context" when building the Docker image, which is completely unnecessary and extremely time-consuming. To solve this, either move the dataset files somewhere else in your filesystem or add the dataset directory (eg the line /datasets/) to .dockerignore.