Why there are 2 different mean and variance?
Closed this issue · 2 comments
Hi, thank you for opensource your amazaing work.
Why there are 2 different mean and variance from training and testing? Doesn't that cause the discrepancy between training and testing?
-
Training
momask-codes/train_t2m_transformer.py
Lines 134 to 135 in d4d3412
-
Testing
momask-codes/motion_loaders/dataset_motion_loader.py
Lines 15 to 16 in d4d3412
Hi, thanks for you interests and careful review of our codes.
We strictly follow the benchmark setting in HumanML3D. Consequently, these two distinct metafiles are numerically identical, sourced directly from the raw dataset's available metadata (Mean.npy and Std.npy) along with the associated weights (opt.feat_bias).
We recognize the importance of using the training mean and std to de-normalize the predicted motion and then re-normalize it with the evaluator's mean and std for a more reliable evaluation process. While they are the same in the basic benchmark setting.
Thank you for your clarification.