documentation:vision:pose_estimation

Pose estimation

There are a couple of interesting repositories:

The former two are inspirations to the third one. 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

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.

  1. sudo apt-get install nvidia-container-runtime # follow this guide https://nvidia.github.io/nvidia-container-runtime/
  2. edit /etc/docker/daemon.json and make sure it looks something like this:
     {
        "runtimes": {
            "nvidia": {
                "path": "/usr/bin/nvidia-container-runtime",
                "runtimeArgs": []
             } 
        },
        "default-runtime": "nvidia" 
    }
  3. sudo systemctl restart docker

I've learned this from: https://stackoverflow.com/questions/59691207/docker-build-with-nvidia-runtime

  • documentation/vision/pose_estimation.txt
  • Last modified: 2022/09/02 14:04
  • by 127.0.0.1