mmhuman3d icon indicating copy to clipboard operation
mmhuman3d copied to clipboard

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

Open zhang123-sys opened this issue 2 years ago • 2 comments
trafficstars

image image

zhang123-sys avatar Feb 14 '23 10:02 zhang123-sys

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

zhang123-sys avatar Feb 14 '23 11:02 zhang123-sys

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.

ttxskk avatar Feb 22 '23 17:02 ttxskk