HW140701 / VideoTo3dPoseAndBvh

Convert video to the bvh motion file
https://www.stubbornhuang.com/613
Other
374 stars 60 forks source link

ValueError: setting an array element with a sequence. #18

Open justintiger opened 3 years ago

justintiger commented 3 years ago

outputs/inputvideo/video.avi --- elapsed time: 7.605630503036082 s Traceback (most recent call last): File "videopose.py", line 332, in inference_video('outputs/inputvideo/video.avi', 'alpha_pose') File "videopose.py", line 195, in inference_video main(args) File "videopose.py", line 74, in main keypoints = detector_2d(video_name) File "/mnt/sdb1/pose_estimation/3D_pose_estimation/VideoTo3dPoseAndBvh/joints_detectors/Alphapose/gene_npz.py", line 63, in generate_kpts kpts = np.array(kpts).astype(np.float32) ValueError: setting an array element with a sequence.

Can u help?

opentld commented 2 years ago

change here :) joints_detectors/Alphapose/gene_npz.py The original code would have had a lot more 'None' behind the kpts array image