-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Any Docker Images updates? #347
Comments
I've been using nvidia-docker2 (also works with the now depreciated nvidia-docker v1) with success on two of my boxes. One machine has two 1080 TI's and the other a standard 1080 running Ubuntu 16. They only have the drivers installed according to nvidia's docker install guide and everything is run inside containers. Sample: Probably quite a bit of room to shrink the dockerfile size down and make it easier to change out opencv, openpose versions etc but should be enough to get you going. Dockerfile has been hacked together to keep it working with openpose v1.2.1 and is probably safe to upgrade OpenCV to v3.4.0. I also don't recall why I blow away 3rdparty/caffe and pull from openpose's fork but it works and this isn't designed for production use. Edit: Forgot to mention that I've adjusted the |
Hi @sberryman, you're inspired me to produce this Dockerfile - OpenPose 1.4.0, OpenCV, CUDA 8, CuDNN 6, Python2.7 that uses latest Caffe build through the |
@moiseevigor - Glad it was able to help you! Any chance you can share what you are using OpenPose for? |
Using as a state-of-art benchmark for pose estimation and evaluating for some projects, not able to disclose more for now. |
I've got another Dockerfile working with CUDA 10 if anybody is interested. https://github.com/ExSidius/openpose-docker/blob/master/Dockerfile https://cloud.docker.com/repository/docker/exsidius/openpose/general |
I will close this, but I have added a link to your Docker files in our doc/installation.md (it will be pushed in the next commit). Thanks for the help! And feel free to post new Dockerfiles in here, I will keep adding them to that file :) |
UPDATE - so seems nvidia has switched things up under the hood with nvidia-runtime container - you don't need the custom etc/docker/daemon.json see https://github.com/NVIDIA/nvidia-docker N.B. - you can actually just invoke nvidia runtime like this # If you have nvidia-docker 1.0 installed: we need to remove it and all existing GPU containers
docker volume ls -q -f driver=nvidia-docker | xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f
sudo apt-get purge -y nvidia-docker
# Add the package repositories
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
# Install nvidia-docker2 and reload the Docker daemon configuration
sudo apt-get install -y nvidia-docker2
sudo pkill -SIGHUP dockerd
# Test nvidia-smi with the latest official CUDA image
docker run --runtime=nvidia --rm nvidia/cuda:9.0-base nvidia-smi |
@gineshidalgo99 Hi, how can I submit a push request for a README? It would be beautiful if you could just post "1. install docker 2. Hopefully people keep this updated, so if nvidia or caffe pushes something that breaks Finally, thanks for all your hard work, Gines! This is far and away the standard for 2-D pose detection, at least in the U.S. Hopefully development continues on this project even if you move on to other projects -nxb |
You can easily do a Pull request! |
Cool, submitted! I guess I'm now officially a very very minor contributor to an Open Source project, haha |
Hi,
I know this may be answered before, BUT I still haven't seen any docker images updates for new users. To be honest, the configuration of environment is really difficult, especially for users who are now familiar with cmake compile. I try to use other openpose project written by python tensorflow, but they are too slow and cannot support the real time webcam actually. Any suggestion?
Thank you so much!
The text was updated successfully, but these errors were encountered: