open-mmlab / mmhuman3d

OpenMMLab 3D Human Parametric Model Toolbox and Benchmark
https://mmhuman3d.readthedocs.io/
Apache License 2.0
1.25k stars 137 forks source link

Error when estimate SMPL parameters for single-person when input is image. #313

Open zhang123-sys opened 1 year ago

zhang123-sys commented 1 year ago

image image

zhang123-sys commented 1 year ago

Traceback (most recent call last): File "demo/estimate_smpl.py", line 595, in main(args) File "demo/estimate_smpl.py", line 493, in main single_person_with_mmdet(args, frames_iter) File "demo/estimate_smpl.py", line 210, in single_person_with_mmdet smpl_poses = speed_up_process( File "E:\gait-recognition\mmhuman3d-0.10.0\demo\mmhuman3d\utils\demo_utils.py", line 434, in speed_up_process x = speed_up_func(x) File "E:\gait-recognition\mmhuman3d-0.10.0\demo\mmhuman3d\core\post_processing\speed_up\deciwatch.py", line 56, in call assert seq_len > self.slide_window_size AssertionError

ttxskk commented 1 year ago

Hi @zhang123-sys,

The log means the length of the input sequence should larger than slide_window_size. So you should disable the smooth algorithm if the input is a single image.

I hope this answer is helpful to you.