nghorbani / soma

Solving Optical MoCap Automatically
Other
183 stars 36 forks source link

ValueError: not enough frames were found that at least 100.0% of the markers. #27

Closed yufu-liu closed 1 year ago

yufu-liu commented 1 year ago

Hi, thanks for this amazing work again!

When I tried to use my MoCap data as input to "solve_labeled_mocap.ipynb", this error appeared. However, it didn't happen for every MoCap file, so I guess it was caused by the input data. Just wonder if there is way to solve it or ignore it?

The whole error description: ValueError: not enough frames were found that at least 100.0% of the markers. either try mosh.stagei_frame_picker.type: random or set mosh.stagei.frame.picker.least_avail_markers to lower number in ange [0.1, 1.0]

yufu-liu commented 1 year ago

After changing stagei_frame_picker type to random in mosh_conf.yaml, error doesn't show up again.

GaigeY commented 9 months ago

Hi. I have met the same problem while runing the tutorial, and I want to share my experience to solve this issue.

This issue is caused by the wrong point labels in mpc data, which should be offered in your .c3d files. If you use other mocap data instead of SOMA_manual_labeled mocap data, and some point labels in your data are not supported by MoSh++ layout marker setting, some issues would be raised. Anyway, if you use AMASS data (with supported marker labels) to run the tutorial, changing stagei_frame_picker as random might be OK.