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

nvidia-docker is deprecated. #168

Closed
sklationd opened this issue Mar 10, 2020 · 5 comments
Closed

nvidia-docker is deprecated. #168

sklationd opened this issue Mar 10, 2020 · 5 comments

Comments

@sklationd
Copy link

readme of demo said, we can run container by nvidia-docker, but latest version of docker does not support nvidia-docker command.

we can use

docker run --gpus all --rm -it \
    -v $(pwd)/output:/output \
    -v $(pwd)/videos:/videos \
    -v $(pwd)/models:/models \
    -w /pose_root \
    hrnet_demo_inference \
    /bin/bash

instead of nvidia-docker

@rangerToby
Copy link

Hi,sklationd. can you run the demo successfully as readme said?

@sklationd
Copy link
Author

sklationd commented Mar 10, 2020

Hi,sklationd. can you run the demo successfully as readme said?

Yes, I followed every command in readme except for nvidia-docker command only.
Make sure you build your dockerfile with ./builder-docker.sh

In addition, you have to extract model (google drive thing) into /models
Therefore, final directory structure looks like this. demos/models/pytorch/coco.. (I'm not sure with name of the directory)

@rangerToby
Copy link

thanks, but i found there is not nvidia driver in the docker images, it's strange~

@sklationd
Copy link
Author

You should install nvidia-docker.
https://github.com/NVIDIA/nvidia-docker

@rangerToby
Copy link

thanks~finally, i run a part of the demo code in another docker env

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

3 participants