This is an old revision of the document!
Pose estimation
There are a couple of interesting repositories:
The former two are inspirations to the latter, which is the one we use. The authors are Hampus Astrom and Stefan Bengtson.
It uses an autoencoder from pytorch3d, which itself is built on top of pytorch.
For training, the most important file is experiment_template.cfg
Troubleshooting
Since it runs in a docker container and uses nvidia, you'll want to pass the –gpus all
flag to docker run
. However, when calling docker build
, no such flag exists. The build will fail.
For me, the answer was to specify the default docker runtime as one that uses nvidia-docker.
sudo apt-get install nvidia-container-runtime
- edit
/etc/docker/daemon.json
and make sure it look something like this:{ "runtimes": { "nvidia": { "path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": [] } }, "default-runtime": "nvidia" }
sudo systemctl restart docker
I've learned this from: https://stackoverflow.com/questions/59691207/docker-build-with-nvidia-runtime