Giter VIP home page Giter VIP logo

dlowfasteval's Introduction

DLow: Diversifying Latent FLows

Loading DLow Overview

This repo contains the official implementation of our paper:

DLow: Diversifying Latent Flows for Diverse Human Motion Prediction
Ye Yuan, Kris Kitani
ECCV 2020
[website] [paper] [talk] [summary] [demo]

Installation

Datasets

  • Please follow the data preprocessing steps (DATASETS.md) inside the VideoPose3D repo. Place the prepocessed data data_3d_h36m.npz (Human3.6M) and data_3d_humaneva15.npz (HumanEva-I) under the data folder.

Environment

  • Tested OS: MacOS, Linux
  • Packages:
    • Python >= 3.6
    • PyTorch >= 0.4
    • Tensorboard
  • Note: All scripts should be run from the root of this repo to avoid path issues.

Pretrained Models

  • Download our pretrained models from Google Drive (or BaiduYun, password: y9ph) and place the unzipped results folder inside the root of this repo.

Train

Configs

We have provided 4 example YAML configs inside motion_pred/cfg:

  • h36m_nsamp10.yml and h36m_nsamp50.yml for Human3.6M for number of samples 10 and 50 respectively.
  • humaneva_nsamp10.yml and humaneva_nsamp50.yml for HumanEva-I for number of samples 10 and 50 respectively.
  • These configs also have corresponding pretrained models inside results.

Train VAE

python motion_pred/exp_vae.py --cfg h36m_nsamp10

Train DLow (After VAE is trained)

python motion_pred/exp_dlow.py --cfg h36m_nsamp10

Test

Visualize Motion Samples

python motion_pred/eval.py --cfg h36m_nsamp10 --mode vis

Useful keyboard shortcuts for the visualization GUI:

Key Functionality
d test next motion data
c save current animation as out/video.mp4
space stop/resume animation
1 show DLow motion samples
2 show VAE motion samples

Compute Metrics

python motion_pred/eval.py --cfg h36m_nsamp50 --mode stats

Citation

If you find our work useful in your research, please cite our paper DLow:

@inproceedings{yuan2020dlow,
    title={Dlow: Diversifying latent flows for diverse human motion prediction},
    author={Yuan, Ye and Kitani, Kris},
    booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
    year={2020}
}

Acknowledgement

Part of the code is borrowed from the VideoPose3D repo.

License

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

dlowfasteval's People

Contributors

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