This repo contains the code for the paper Multi-Person Absolute 3D Human Pose Estimation with Weak Depth Supervision.
The model uses the following packages:
To reproduce the results in the paper, first download the MuPoTS-3D dataset. You'll also need the preprocessed data and model. Extract the downloaded zip in the root folder of the repository. To evaluate the pretrained model, use the following command:
MUPOTS_FOLDER=<path/to/mupots> python3 scripts/eval.py normalized
The above command evaluates the performance of the model trained on normalized MuCo coordinates (see paper for more info). You can swap normalized
to unnormalized
to evaluate the model trained on the unnormalized coordinates.
You can run the model on new images for which no preprocessed data exists. For that you'll also need Mask-RCNN and HR-net installed:
wget -O best_generalization_net_G.pth http://www.cs.cornell.edu/projects/megadepth/dataset/models/best_generalization_net_G.pth
examples/metada.csv
for an example). The former can be found in the camera specifications, for the latter the center of the image is a good approximation.predict.sh
script to include the root location of Detectron and HR-net. You might also want to activate/deactivate necessary Python virtualenvs around Detectron or HR-net../predict.sh examples/imgs examples/metadata.csv