davrempe / humor

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

bug when run rgb_use_spli #32

Closed HospitableHost closed 1 year ago

HospitableHost commented 2 years ago

your code can't work when “python humor/fitting/run_fitting.py @./configs/fit_rgb_demo_use_split.cfg”. bug of UnboundLocalError: local variable 'body_model_path' referenced before assign, after I fixed this bug, there is another bug "IndexError: list index out of range"

HospitableHost commented 2 years ago

I find that Found video with 0 frames..., But the video is there, and I checked the path.

HospitableHost commented 2 years ago

image just see this image, it pre-processed my video, but it can't find the video.

HospitableHost commented 2 years ago

I find that this error is caused by openpose, and I suggest that tun openpose by the command:

run_cmds = ['./build/examples/openpose/openpose.bin', \
            '--image_dir', img_dir, '--write_json', out_dir, \
            '--display', '0', '--model_pose', SKELETON, '--number_people_max', '1', '--num_gpu', '1', '--num_gpu_start', '1']
SER1205 commented 1 year ago

I also have this problem. Have you solved it?

HospitableHost commented 1 year ago

I also have this problem. Have you solved it?

use only one gpu

davrempe commented 1 year ago

Thanks for pointing this out. I have added the --num_gpu 1 to the openpose command to fix this in the latest commit.