Skip to content

738654805/eval-mpii-pose

 
 

Repository files navigation

eval-mpii-pose

Scripts for evaluating results on the MPII human pose dataset.

Input format

Predictions are expected to have the following format:

  • Must be a Matlab (.mat) or HDF5 (.h5) file
    • Must have one field, preds, which is the joint predictions tensor
    • Tensor size must be [2 x 16 x n] or [n x 16 x 2]
  • Must correspond to one of the following subsets: train, val, test
    • See annot/{train,valid,test}.h5 for which examples are in each of these subsets

Predictions produced by the following repositories meet these requirements:

Metrics

PCKh

The PCKh performance metric is the percentage of joints with predicted locations that are no further than half of the head segment length from the ground truth.

"PCKh total" excludes the pelvis and thorax joints from the calculation, presumably because they are very easy to predict given that the approximate person center is provided.

Scripts

evalMPII.m

Loads predictions from Matlab or HDF5 files and compares them with ground truth labels to calculate accuracy metrics (eg PCKh). You will want to edit getExpParamsNew.m to add new sets of predictions, and evalMPII.m to specify which predictions to include and which subset (train/val) to use.

prepareTestResults.m

Loads flat test set predictions and prepares them for submission.

File origins

In order to keep evaluation in line with existing work, a lot of files in this repository were copied verbatim from other sources.

About

Evaluation code for the MPII human pose dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%