VideoTo3dPoseAndBvh icon indicating copy to clipboard operation
VideoTo3dPoseAndBvh copied to clipboard

ValueError: setting an array element with a sequence.

Open justintiger opened this issue 3 years ago • 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?

justintiger avatar Apr 23 '21 17:04 justintiger

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

opentld avatar Apr 13 '22 06:04 opentld