• Stars
    star
    239
  • Rank 168,763 (Top 4 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created almost 4 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Character Controllers using Motion VAEs

Character Controllers using Motion VAEs

This repo is the codebase for the SIGGRAPH 2020 paper with the title above. Please find the paper and demo at our project website https://www.cs.ubc.ca/~hyuling/projects/mvae/.

Quick Start

This library should run on Linux, Mac, or Windows.

Install Requirements

# TODO: Create and activate virtual env

cd MotionVAEs
pip install -r requirements
NOTE: installing pybullet requires Visual C++ 14 or higher. You can get it from here: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Run Pretrained Models

Run pretrained models using the play scripts. The results are rendered in PyBullet. Use mouse to control camera. Hit r reset task and g for additional controls.

cd vae_motion

# Random Walk
python play_mvae.py --vae models/posevae_c1_e6_l32.pt

# Control Tasks: {Target, Joystick, PathFollow, HumanMaze}Env-v0
python play_controller.py --dir models --env TargetEnv-v0

Train from Scratch

Train models from scratch using train scripts.

The train_mvae.py script assumes the mocap data to be at environments/mocap.npz. The original training data is not included in this repo; but can be easily extracted from other public datasets. Please refer to our paper for more detail on the input format. All training parameters can be set inside main() in the code.

Use train_controller.py to train controllers on top of trained MVAE models. The trained model path, control task, and learning hyperparameters can be set inside main() in the code. The task names follow the same convention as above, e.g. TargetEnv-v0, JoystickEnv-v0, and so on.

Citation

Please cite the following paper if you find our work useful.

@article{ling2020character,
  author    = {Ling, Hung Yu and Zinno, Fabio and Cheng, George and van de Panne, Michiel},
  title     = {Character Controllers Using Motion VAEs},
  year      = {2020},
  publisher = {Association for Computing Machinery},
  volume    = {39},
  number    = {4},
  journal   = {ACM Trans. Graph.}
}

More Repositories

1

CnC_Remastered_Collection

C++
18,221
star
2

EASTL

EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.
C++
7,676
star
3

ea-async

EA Async implements async-await methods in the JVM.
Java
1,367
star
4

dem-bones

An automated algorithm to extract the linear blend skinning (LBS) from a set of example poses
C++
837
star
5

EAStdC

EAStdC is a package which implements basic library facilities that are similar to those in the standard C library.
C++
478
star
6

EAThread

EAThread implements a unified cross-platform interface for multithreaded programming.
C++
288
star
7

EACopy

Robocopy alternative with a bunch of different features
C++
232
star
8

EABase

EABase is a small set of header files that define platform-independent data types and platform feature macros.
C++
157
star
9

RenderWare3Docs

White Papers and User Guide from the RenderWare game engine release for PC.
145
star
10

gatling-aws-maven-plugin

The Gatling AWS Maven plugin takes the pain out of scaling up your Gatling tests. It runs your load test on a configurable number of EC2 instances, aggregates a single load test report, and uploads the results to S3. All EC2 instances are terminated at the end of the test to ensure you are only paying for what you need.
Java
99
star
11

ea-agent-loader

EA Agent Loader is a collection of utilities for java agent developers.
Java
92
star
12

Tunable-Colorblindness-Solution

A tunable colorblindness solution that improves color-shifting and luminosity to address common colorblind issues relating to color differentiation and visibility in colorblind accessibility settings.
HLSL
89
star
13

IRIS

EA’s photosensitivity analysis tool
C++
69
star
14

cpp-ml-intro

C++ ML Intro
C
65
star
15

ava-capture

Ava Capture is a distributed system to control and record several cameras from a central UI. This system would typically be used for a photogrammetry or 4D capture rig based on Ximea cameras.
Python
64
star
16

rig-inversion

Example code for the technique described in the paper "Rig Inversion by Training a Differentiable Rig Function" published at SIGGRAPH Asia 2022.
Python
60
star
17

SimpleTeamSportsSimulator

Python
54
star
18

CNC_TS_and_RA2_Mission_Editor

FinalSun & FinalAlert2 Level Editors
C++
52
star
19

awsudo

Automated AWS API access using a SAML compliant identity provider
Ruby
43
star
20

fastnoise

Filter-adapted Spatiotemporal Sampling for Real-Time Rendering
C++
42
star
21

EAMain

EAMain provides a multi-platform entry point used for platforms that don't support console output, return codes and command-line arguments.
C++
41
star
22

EAAssert

EAAssert is a simple and lightweight assert technology.
C++
39
star
23

EATest

EATest is a C++ unit testing framework. It's goal is to have a scalable architecture, have minimal dependencies, and simple usage.
C++
37
star
24

fonttik

Fonttik is a text size & contrast checking solution created by EACC Tech to check accessibility criteria regarding text readability
C++
35
star
25

siggraph-asia-2019-gata

Supports SIGGRAPH Asia 2019 paper "GATA: Multi-Theme Generative Adversarial Terrain Amplification"
Python
29
star
26

MELE_ModdingSupport

C
28
star
27

interactive_training

Jupyter Notebook
18
star
28

minicoros

C++
17
star
29

orbit

Moved to https://github.com/orbit/orbit
14
star
30

NetTAP

TAP parser for .NET
C#
12
star
31

helmci

helmci is a program that takes a set of helm release values and automatically deploys them to a Kubernetes cluster
Rust
10
star
32

kara

Automated generation of Finagle HTTP/JSON services and Swagger UI from Thrift service definitions.
Scala
8
star
33

harmony

Java
5
star