Chiaraplizz / ST-TR

Spatial Temporal Transformer Network for Skeleton-Based Activity Recognition
MIT License
294 stars 57 forks source link

Difference between gendata and preprocess #20

Closed zhengthomastang closed 3 years ago

zhengthomastang commented 3 years ago

For the NTU RGB+D datasets, there are XXX_gendata.py and preprocess_XXX.py which read the same inputs and produce the same outputs. What are their differences and how the results differ if training on the corresponding .npy and .label files generated?

Chiaraplizz commented 3 years ago

Hi! The preprocess_XXX.py already includes the preprocessing step (l. 143, fp = pre_normalization(fp)). If you instead use XXX_gendata.py, you should run the pre-normalization step on the generated data.

Chiara