Giter Site home page Giter Site logo

swipswaps / pose-drl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aleksispi/pose-drl

0.0 0.0 0.0 13 MB

Official implementation of the AAAI 2020 paper "Deep Reinforcement Learning for Active Human Pose Estimation"

CMake 1.12% Makefile 0.27% Dockerfile 0.03% HTML 0.07% CSS 0.10% Jupyter Notebook 54.24% C++ 32.05% Shell 0.40% Python 3.86% Cuda 2.28% MATLAB 5.34% C 0.24%

pose-drl's Introduction

Deep Reinforcement Learning for Active Human Pose Estimation

Authors: Aleksis Pirinen*, Erik Gärtner*, and Cristian Sminchisescu (* denotes first authorship).

visualization

Overview

Official implementation of the AAAI 2020 paper Deep Reinforcement Learning for Active Human Pose Estimation. This repository contains code for producing results for our Pose-DRL model and the baselines that match those reported in the paper, as well as training Pose-DRL on Panoptic. Our paper is on arXiv too. A video overview of this paper is available here, with step-by-step visualizations here and here.

Pose-DRL is implemented in Caffe. The experiments are performed in the CMU Panoptic multi-camera framework. The Pose-DRL model in this repository uses MubyNet as underlying 3d human pose estimator.

overview

Citation

If you find this implementation and/or our paper interesting or helpful, please consider citing:

@inproceedings{gartner2020activehpe,
  title={Deep Reinforcement Learning for Active Human Pose Estimation},
  author={G\"{a}rtner, Erik and Pirinen, Aleksis and Sminchisescu, Cristian},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  year={2020}
}

Setup

  1. Clone the repository.
  2. Read the following documentation on how to setup our system, assuming you are using pre-computed feature maps and pose predictions for MubyNet (see the next item on how to pre-compute these). This covers prerequisites and how to install our framework.
  3. See this dataset documentation for how to download and preprocess the Panoptic data, pre-compute MubyNet deep features and pose estimates and train/download instance features for matching.

Pretrained models

Pretrained model weights for Pose-DRL can be downloaded here.

Using Pose-DRL

Training the model

To train the model run the command:

run_train_agent('train')

The results and weights will be stored in the location of CONFIG.output_dir.

Evaluating the model

Given the model weights (either the provided weights or your own):

  1. Set flag CONFIG.evaluation_mode = 'test';
  2. Set flag CONFIG.agent_random_init = 0;
  3. Set flag CONFIG.agent_weights = '<your-weights-path>';
  4. Set flag CONFIG.training_agent_nbr_eps = 1; (Note, this will not update weights, since they are updated every 40 eps.)
  5. Run run_train_agent('train');, results will be stored in the location of CONFIG.output_dir.

Acknowledgements

This work was supported by the European Research Council Consolidator grant SEED, CNCS-UEFISCDI PN-III-P4-ID-PCE-2016-0535, the EU Horizon 2020 Grant DE-ENIGMA, SSF, as well as the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation. Finally, we would like to thank Alin Popa, Andrei Zanfir, Mihai Zanfir and Elisabeta Oneata for helpful discussions and support.

pose-drl's People

Contributors

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