davrempe / humor

Code for ICCV 2021 paper "HuMoR: 3D Human Motion Model for Robust Pose Estimation"
MIT License
522 stars 72 forks source link

process amass data with 60 fps #40

Closed Grem-Lin closed 1 year ago

Grem-Lin commented 1 year ago

Hi, I am following your data processing pipeline for AMASS dataset. I saw the out_fps = 30 by default. I am wondering if I want data to be sampled at 60 fps, can I just change out_fps = 60 in the code below? I am new to this, I am not sure if there will be any storage issues, etc...

Thanks! https://github.com/davrempe/humor/blob/fc6ef84f0baa153be15427402e0147ed1a63a11a/humor/scripts/process_amass_data.py#L26

davrempe commented 1 year ago

Yes, you should be able to just change to OUT_FPS = 60 to update the data processing.

However, there are other places in the code that assume the FPS is 30, so you will need to update those if you want to use the full pipeline at 60 fps. For example in video to images and the visualization script.

Also if you re-train HuMoR on this data, consider that the time between timesteps is halved, which may affect the learning in some ways. e.g. the default sequence length training humor is 10 steps which is 0.3 sec @ 30 fps but only 0.16 sec @ 60 fps, so it may be less stable at test time unless you use longer training sequences.