Giter Site home page Giter Site logo

h36m-fetch's Introduction

Human3.6M dataset fetcher

Human3.6M is a 3D human pose dataset containing 3.6 million human poses and corresponding images. The scripts in this repository make it easy to download, extract, and preprocess the images and annotations from Human3.6M.

Requirements

  • Python 3
  • axel
  • CDF

Alternatively, a Dockerfile is provided which has all of the requirements set up. You can use it to run scripts like so:

$ docker-compose run --rm --user="$(id -u):$(id -g)" main python3 <script>

Usage

  1. Firstly, you will need to create an account at http://vision.imar.ro/human3.6m/ to gain access to the dataset.
  2. Once your account has been approved, log in and inspect your cookies to find your PHPSESSID.
  3. Copy the configuration file config.ini.example to config.ini and fill in your PHPSESSID.
  4. Use the download_all.py script to download the dataset, extract_all.py to extract the downloaded archives, and process_all.py to preprocess the dataset into an easier to use format.

Frame sampling

Not all frames are selected during the preprocessing step. We assume that the data will be used in the Protocol #2 setup (see "Compositional Human Pose Regression"), so for subjects S9 and S11 every 64th frame is used. For the training subjects (S1, S5, S6, S7, and S8), only "interesting" frames are used. That is, near-duplicate frames during periods of low movement are skipped.

You can edit select_frame_indices_to_include() in process_all.py to change this behaviour.

License

The code in this repository is licensed under the terms of the Apache License, Version 2.0.

Please read the license agreement for the Human3.6M dataset itself, which specifies citations you must make when using the data in your own research. The file metadata.xml is directly copied from the "Visualisation and large scale prediction software" bundle from the Human3.6M website, and is subject to the same license agreement.

h36m-fetch's People

Contributors

anibali avatar

Watchers

 avatar  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.