CoDA icon indicating copy to clipboard operation
CoDA copied to clipboard

About datas in stats_compose.py

Open Laplacian2004 opened this issue 10 months ago • 1 comments

Hi, thanks for your amazing work!

I noticed that /coda/model/diff/utils/stats_compose.py defines several composed statistics, but I couldn’t find the code that actually computes these statistics from the raw data.

Would it be possible to share or point to the implementation used to calculate these statistics (e.g., the preprocessing, data analysis scripts, or what data is used to calculate those means and stds)? This would be very helpful for reproducing the results and understanding the pipeline more clearly.

Thanks in advance!

Laplacian2004 avatar Jan 19 '26 09:01 Laplacian2004

These statistics are computed offline using a simple dataset traversal way. The process is: • Iterate over the datasets • Apply the same preprocessing and feature construction as used in training • Collect the final network inputs • Compute mean and std over the full dataset

For different components, we use the corresponding data sources: • GRAB-related object motion statistics are computed from the GRAB dataset • ARCTIC-related object motion statistics are computed from the ARCTIC dataset • Human motion statistics are computed from a mixture of AMASS, GRAB, and ARCTIC

So the statistics reflect the actual feature distributions seen by the model during training.

phj128 avatar Jan 21 '26 07:01 phj128