hjf1997 / articulated-objects-motion-prediction

Pytorch version of paper 'Predicting Long-Term Skeletal Motions by a Spatio-Temporal Hierarchical Recurrent Network', ECAI 2020
https://zanecode6574.github.io/ST-Hierarchical-Recurrent-Network/
MIT License
18 stars 1 forks source link

Predicting Long-Term Skeletal Motions by a Spatio-Temporal Hierarchical Recurrent Network

This is the pytorch version, python code of our paper Predicting Long-Term Skeletal Motions by a Spatio-Temporal Hierarchical Recurrent Network.
Please follow the introduction below to reproduce our results .

Publication

Our paper is accepted by the 24th European Conference on Artificial Intelligence (ECAI2020) and the submitted version is available at arXiv. We will release the final version later.

See the accepted papers here.

See the published version here

Required packages

Dataset download

Reproduce our results

We save our model in the checkpoint folder. Our code will search a checkpoint automatically according to your settings.

cd src
python train.py --dataset Human --training False --visualize True

Train our network

The main file can be found in train.py.

cd src
python train.py

This command will train our network with default settings, i.e. Human dataset and all actions.

All settings are listed below:

setting default values help
--gpu [0] [.., .., ..] GPU device ids, list
--training True True, False train or test
--action all all, walking, .... see more in the code
--dataset Human Human, Mouse choose dataset
--visualize False True, False visualize predictions or not, only usable for testing

For more detail configurations, you could refer config.py

Acknowledge

Some code is adopted or modified from BII-wushuang, una-dinosauria, and asheshjain399.

Thanks for their great works! :)

Citation

If you find this useful, please cite our work as follows:

Not available.

Questions

If you have any question or bug in my code, you can contact me with issues or email: hjf@cqu.edu.cn