34
Gavriel State, Senior Director, Systems Software March 26, 2018 Deep Learning for Locomotion Animation

Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

Gavriel State, Senior Director, Systems Software

March 26, 2018

Deep Learning for Locomotion Animation

Page 2: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

2

Deep Learning Animation:PFNN

• Breakthrough paper on using motion capture + DL to drive locomotion animation

• http://theorangeduck.com/page/phase-functioned-neural-networks-character-control

Page 3: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

3

Page 4: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

4

ApplicationsGames

Page 5: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

5

ApplicationsCrowds

Page 6: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

6

ApplicationsAuto Simulation

Image from the SYNTHIA dataset

Page 7: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

7

ApplicationsHuman/Robot interaction safety

Mimus, Madeline Gannon / ATONATON (2016)

Page 8: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

8

ApplicationsHolodeck

Page 9: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

9

How does it work?

• Gather Motion Capture data

• Lots of free data available from CMU: http://mocap.cs.cmu.edu/

• Many thanks to Fox VFX Lab for our capture above

Motion Capture

Page 10: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

10

How does it work?

• Additional data needed:

• Gait (running, walking, crouching, etc)

• Phase

• Footstep positions

Metadata labeling

Page 11: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

11

How does it work?

• Generate many different

height fields that can fit

a given set of character

positions

• More robust than just

capturing the actual

height field, since it gives

the network more

potential data to fit with

Terrain Fitting

Page 12: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

12

How does it work?

• Weights in the network

are different depending

on the phase parameter

• Four sets of weights

trained

• Mid-cycle weights

calculated by spline

interpolation or

precomputed (requires

custom inferencing

code or lots of memory)

Phase Functioned Neural Network

Page 13: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

13

How does it work?Runtime Inferencing

Page 14: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

14

Page 15: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

15

PFNN On GPU

Page 16: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

16

Page 17: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

17

What’s Wrong With This Picture?

Page 18: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

18

Here’s a Hint

Page 19: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

19

Page 20: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

20

DeepLoco: Physics + RL

• Another major recent work adds physics and high level control:

DeepLoco: Dynamic Locomotion Skills Using Hierarchical Deep Reinforcement Learning

Xue Bin Peng (1) Glen Berseth (1) KangKang Yin (2) Michiel van de Panne (1)

(1)University of British Columbia

(2)National University of Singapore

• http://www.cs.ubc.ca/~van/papers/2017-TOG-deepLoco/

Page 21: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

21

How does it work?

• Simulation engine + RL

• Bullet Physics Engine, rewards

• Low level controller

• Uses phase, like PFNN, but simpler

• Activates PD controller

• High Level controller

• Generates ‘footstep plan’ based on goals gH

• Customizable for different tasks

DeepLoco RL System

Page 22: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

22

Page 23: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

23

Early RL ResultsDeepLoco-style Reward Function

Page 24: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

24

Page 25: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

25

Physics + Mocap + RL

Page 26: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

26

Page 27: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

27

Physics + RL + Uneven TerrainNo Mocap

Ministry of Silly Walks

Page 28: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

28

Page 29: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

29

Physics + RL + Uneven Terrain+ Mocap

Ministry of Getting Closer

Page 30: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

30

Page 31: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

31

Additional ResearchCharacter Interaction

Page 32: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

32

Page 33: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

33

DEMO: Deep Learning Animation

Page 34: Deep Learning for Locomotion Animation - NVIDIAon-demand.gputechconf.com/.../s8743-deep-learning... · Deep Learning Animation: PFNN • Breakthrough paper on using motion capture

Questions?