Git Product home page Git Product logo

egopose's Introduction

EgoPose

Loading EgoPose demo gif Loading EgoPose demo gif

This repo contains the official implementation of our paper:

Ego-Pose Estimation and Forecasting as Real-Time PD Control
Ye Yuan, Kris Kitani. ICCV 2019.
[project page] [paper] [video]

Installation

Dataset

  • Download the dataset from Google Drive in the form of a single zip or split zips (or BaiduYun link, password: ynui) and place the unzipped dataset folder inside the repo as "EgoPose/datasets". Please see the README.txt inside the folder for details about the dataset.

Environment

  • Supported OS: MacOS, Linux
  • Packages:
  • Additional setup:
    • For linux, the following environment variable needs to be set to greatly improve multi-threaded sampling performance:
      export OMP_NUM_THREADS=1
  • Note: All scripts should be run from the root of this repo.

Pretrained Models

  • Download our pretrained models from this link (or BaiduYun link, password: kieq) and place the unzipped results folder inside the repo as "EgoPose/results".

Quick Demo

Ego-Pose Estimation

  • To visualize the results for MoCap data:
    python ego_pose/eval_pose.py --egomimic-cfg subject_03 --statereg-cfg subject_03 --mode vis
    Here we use the config file for subject_03. Note that in the visualization, the red humanoid represents the GT.

  • To visualize the results for in-the-wild data:
    python ego_pose/eval_pose_wild.py --egomimic-cfg cross_01 --statereg-cfg cross_01 --data wild_01 --mode vis
    Here we use the config file for cross-subject model (cross_01) and test it on in-the-wild data (wild_01).

  • Keyboard shortcuts for the visualizer: keymap.md

Ego-Pose Forecasting

  • To visualize the results for MoCap data:
    python ego_pose/eval_forecast.py --egoforecast-cfg subject_03 --mode vis

  • To visualize the results for in-the-wild data:
    python ego_pose/eval_forecast_wild.py --egoforecast-cfg cross_01 --data wild_01 --mode vis

Training and Testing

  • If you are interested in training and testing with our code, please see train_and_test.md.

Citation

If you find our work useful in your research, please consider citing our paper Ego-Pose Estimation and Forecasting as Real-Time PD Control:

@inproceedings{yuan2019ego,
  title={Ego-Pose Estimation and Forecasting as Real-Time PD Control},
  author={Yuan, Ye and Kitani, Kris},
  booktitle={Proceedings of the IEEE International Conference on Computer Vision (ICCV)},
  year={2019},
  pages={10082--10092}
}

License

The software in this repo is freely available for free non-commercial use. Please see the license for further details.

egopose's People

Contributors

khrylx avatar

Watchers

 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.