Giter Club home page Giter Club logo

eval-mpii-pose's Introduction

eval-mpii-pose

Scripts for evaluating results on the MPII human pose dataset.

Disclaimer: This is an unofficial repository, I am not from MPI and I was not involved in the creation of the 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.

Reference predictions

The preds/reference directory contains multiple validation set prediction files generated by established pose estimation models. You can compare against these predictions using evalMPII.m.

NOTE: Since the reference predictions are for the validation set, they are not compatible with the prepareTestResults.m script.

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.

eval-mpii-pose's People

Contributors

anibali avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.