Robust-Motion-In-betweening
Robust-Motion-In-betweening copied to clipboard
π Paper: Robust Motion In-betweening π
Robust Motion In-betweening
PyTorch Implementation of 'Robust Motion In-betweening'
Gallery
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
It implements a paper "Robust Motion In-betweening".
This article is a great source to understand authors intention and idea. This repo persues exact implementation of the paper, without tweaks and modifications.
Setup
-
Follow
LAFAN1dataset's installation guide. You need to install git lfs first before cloning the dataset repo. Your directory will look like this:. |-- README.md |-- config |-- requirements.txt |-- rmi |-- test.py |-- tests |-- train.py `-- ubisoft-laforge-animation-dataset -
Run
evaluate.pyto unzip and validate it. (Installnumpyfirst if you don't have it)$ pip install numpy $ python ubisoft-laforge-animation-dataset/evaluate.pyWith this, you will have unpacked LAFAN dataset under
ubisoft-laforge-animation-datasetfolder. -
(Optional) You can use your own skeleton format as long as it fits with
TorchSkeletonclass. However, I recommend to usePyMOsince it provides easy-to-use skeleton parser. You can install it as below:$ git clone https://github.com/omimo/PyMO.git $ cd PyMO $ python setup.py installDo not install this repo through
pip install pymoor you will get a totally different package. -
Now, install packages listed in
requirements.txt. Use appropriatepytorchversion depending on your device(CPU/GPU).
Training & Test
You can simply run train.py and test.py for training and inference. In case of modifying training parameters, strongly recommend to change it from config/config.yaml.
Configuration
If you want to change configuration of processes, modify config_base.yaml in /config.
Reference
-
Quaternion processing utility is employed from Facebook Research's QuaterNet.
@inproceedings{pavllo:quaternet:2018, title={QuaterNet: A Quaternion-based Recurrent Model for Human Motion}, author={Pavllo, Dario and Grangier, David and Auli, Michael}, booktitle={British Machine Vision Conference (BMVC)}, year={2018}} -
LAFAN1 Dataset and its utility codes are used in this repo.
@article{harvey2020robust, author = {FΓ©lix G. Harvey and Mike Yurick and Derek Nowrouzezahrai and Christopher Pal}, title = {Robust Motion In-Betweening}, booktitle = {ACM Transactions on Graphics (Proceedings of ACM SIGGRAPH)}, publisher = {ACM}, volume = {39}, number = {4}, year = {2020} }









