Skip to content
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

Installation with docker but where is imaginaire_root? #157

Open
9B8DY6 opened this issue Jul 23, 2022 · 4 comments
Open

Installation with docker but where is imaginaire_root? #157

9B8DY6 opened this issue Jul 23, 2022 · 4 comments

Comments

@9B8DY6
Copy link

9B8DY6 commented Jul 23, 2022

image
image

After building image and start_local_docker, I can not find out imaginaire_root dir. Where is it?

@9B8DY6 9B8DY6 changed the title Installation with docker Installation with docker but where is imaginaire_root? Jul 23, 2022
@andrearama
Copy link

Found the solution ?

@GabrielZZZ
Copy link

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

@Manjuphoenix
Copy link

Manjuphoenix commented May 31, 2023

@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?

@Robotuks
Copy link

Robotuks commented Oct 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants