HW140701/VideoTo3dPoseAndBvh

ValueError: setting an array element with a sequence.

justintiger opened this issue · 1 comments

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?

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