EricGuo5513 / momask-codes

Official implementation of "MoMask: Generative Masked Modeling of 3D Human Motions (CVPR2024)"
https://ericguo5513.github.io/momask/
MIT License
689 stars 56 forks source link

Double division of std #52

Closed seokhyeonhong closed 1 month ago

seokhyeonhong commented 1 month ago

Hello, thanks for the great work and sharing the code. While exploring the training code of VQ-VAE, I found that std is divided by opt.feat_bias, which I can understand. But it seems that std is divided in the training dataset first, and it is divided again in the validation dataset due to the call-by-reference function parameters. And it seems that this double-divided std is saved in the meta_dir, which is further used when training the transformers. As the std is different between training and inference of VQ-VAE, I'm just curious if this was intended or just a bug.

Thanks for the great work again, and I look forward to hearing from you.

seokhyeonhong commented 1 month ago

Oh, I found it in the closed issues. I'll close this!