davrempe / humor

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

List index out of range #21

Closed yc4ny closed 2 years ago

yc4ny commented 2 years ago

Hi, in prior to the question, thanks for the great work!

While running fitting to RGB videos (test time optimization), I get the error of:

======= iter 69 ======= Optimized sequence 0 in 461.702792 s Saving final results... Traceback (most recent call last): File "humor/fitting/run_fitting.py", line 439, in main(args, config_file) File "humor/fitting/run_fitting.py", line 433, in main body_model_path, num_betas, use_joints2d) File "/home/humor/humor/fitting/../fitting/fitting_utils.py", line 434, in save_rgb_stitched_result concat_cam_res[k] = torch.cat([concat_cam_res[k], cur_stage3_res[k][seq_overlaps[res_idx]:]], dim=0) IndexError: list index out of range

I used the base command that you guys have provided:

python humor/fitting/run_fitting.py @./configs/fit_rgb_demo_no_split.cfg

I can't seem to find why, can you help?

Thanks

davrempe commented 2 years ago

I think this is due to a recent change to how results are saved that wasn't very robust (e.g. if you ran the optimization multiple times without manually clearing the output directory, this error would show up). I just updated to make it more robust and I think this shouldn't be a problem now.

Please try again, and if you still have problems please re-open this issue. Thanks for bringing this to my attention!

yc4ny commented 2 years ago

@davrempe Ah I see, thanks for the update. It seems to work now!