Open 9B8DY6 opened 2 years ago
Found the solution ?
drag your local imaginative folder into the terminal, and copy the path, in the workspace use cd THE-PATH-YOU-COPIED
to enter the root imaginaire folder
@GabrielZZZ Can you explain more about dragging the local imaginative folder (Does it mean cloning the repository again into the container and running the test_training script) ? Or does it involve mounting the host machine imaginaire folder to the container file system?
It really depends where you cloned your Imaginaire
. In my case, that directory was not binded as it was in another volume and unreachable.
I added a line to bind directory in start_local_docker.sh
:
-v /<PATH_TO_IMAGINAIRE>/imaginaire:/<PATH_TO_IMAGINAIRE>/imaginaire \
So final command looked like this:
docker run \
--gpus all \
--shm-size 32g \
--ipc=host \
-it \
-v /mnt:/mnt \
-v ~/:/home \
-v /<PATH_TO_IMAGINAIRE>/imaginaire:/<PATH_TO_IMAGINAIRE>/imaginaire \
nvcr.io/nvidian/lpr-imagine/imaginaire:${1}-py3 \
/bin/bash
After building image and start_local_docker, I can not find out imaginaire_root dir. Where is it?