By Yujiao Cheng, Weiye Zhao, Changliu Liu
Human-Motion-Prediction is currently implemented with two different algorithms, RLS-PAA and Identifier-based algorithm.
- MATLAB 2014a or later.
CPU, Windows 7 or later, MAC OS.
- Run
fake_data_demo.m
to generate arficial motion system training dataset.- Note: check opts. parameter in demo files for more parameter setting.
- Run
id_demo.m
to apply identifier-based algorithm on human motion data. - Run
rls_demo.m
to apply RLS-PAA algorithm on human motion data.
.\offline_train\trainNN.py
to training offline models on human motion data.- human motion dataset should be set manually. Please find Kinect and CMU mocap datasets in
.\data2
.
id_demo.m
andrls_demo.m
are demos for two online adaptation algorithms. Check both files for more details.- Note: check opts. parameter in demo files for more parameter setting.
- Check other scripts in
./lib
for auxiliary function.
- The results in terms of prediction error and prediction motion state of two algorithms on four datasets are stored in
./results/..
, please runplot_err(error, instance number, 'y label', 'x label')
to see the graph for prediction error after loading the error mat.
Note:
- In all the experiments, online adaptation is performed on smoothed human motion data
.\data2\trainX&Y
. Both ready-for-adaptationtrainX
ortrainY
data are stored in.\data2\data_time.mat
or.\data2\cmu_data.mat
, which denote Kinect dataset and CMU mocap dataset respectively. - artificial system data is not stored, but users can run
fake_data_demo.m
to genreate user defined artificial motion data. - pre-stored offline trained NN initiation parameters for CMU dataset and artificial systems can be found in
.\para\..
, parameters for Kinect dataset can be found in.\data2
. - Running time is not recorded, but normally id-based algorithm are slower than RLS algorithm.