openxrlab / xrmocap

OpenXRLab Multi-view Motion Capture Toolbox and Benchmark
https://xrmocap.readthedocs.io/
Other
340 stars 42 forks source link

Runtim error in mview_mperson_end2end_estimator.py when running on scene0 of complete shelf dataset #111

Closed patrickESM closed 10 months ago

patrickESM commented 1 year ago

Hi there,

when using the whole shelf dataset und running

python tools/mview_mperson_end2end_estimator.py --output_dir ./output/estimation --model_dir weight/mvp/xrmocap_mvp_shelf-22d1b5ed_20220831.pth --estimator_config configs/modules/core/estimation/mview_mperson_end2end_estimator.py --image_and_camera_param ./xrmocap_data/Shelf/image_and_camera_param.txt --start_frame 0 --end_frame 200 --enable_log_file

i get the following error: File "/home/pschuelein/projects/xrmocap/tools/mview_mperson_end2end_estimator.py", line 187, in main(args) File "/home/pschuelein/projects/xrmocap/tools/mview_mperson_end2end_estimator.py", line 61, in main pred_keypoints3d, smpl_data_list = smpl_estimator.run( File "/home/pschuelein/projects/xrmocap/xrmocap/core/estimation/mview_mperson_end2end_estimator.py", line 286, in run pred_keypoints3d = self.optimize_keypoints3d(pred_keypoints3d) File "/home/pschuelein/projects/xrmocap/xrmocap/core/estimation/mperson_smpl_estimator.py", line 79, in optimize_keypoints3d keypoints3d = optimizer.optimize_keypoints3d( File "/home/pschuelein/projects/xrmocap/xrmocap/transform/keypoints3d/optim/rm_duplicate.py", line 118, in optimize_keypoints3d kps3d_optim[frame_idx, frame_identities, IndexError: index 10 is out of bounds for axis 1 with size 10

I have put the used shelf dataset in the same folder structure as the example Shelf_50 testset.

The error also only occurs when frame 150 is included. Maybe this helps to isolate the error happening here.

Thanks for your help.

wqyin commented 1 year ago

Hello, this bug has been fixed in #136. It was caused by too many tracklets in a long video. You may disable the identity tracking in keypoints optimization config, or try the latest fix.

yl-1993 commented 10 months ago

This issue is closed as it has been inactive for a while. Feel free to re-open it if the problem is not solved.