Vegetebird / MHFormer

[CVPR 2022] MHFormer: Multi-Hypothesis Transformer for 3D Human Pose Estimation
MIT License
538 stars 85 forks source link

demo run reports matrix error #110

Closed KungZell closed 9 months ago

KungZell commented 1 year ago

Hello @Ha0Tang, thank you very much for the great project you and your team have provided, when running the demo, the following error occurs, how should I change it? Generating 2D pose... 0it [00:00, ?it/s] Traceback (most recent call last): File "demo/vis.py", line 288, in <module> get_pose2D(video_path, output_dir) File "demo/vis.py", line 92, in get_pose2D keypoints, scores = hrnet_pose(video_path, det_dim=416, num_peroson=1, gen_output=True) File "C:\Users\MR G\Desktop\MHFormer-main\demo\lib\hrnet\gen_kpts.py", line 164, in gen_video_kpts keypoints = keypoints.transpose(1, 0, 2, 3) # (M, T, N, 2) --> (T, M, N, 2) ValueError: axes don't match array

rongmengmeng commented 11 months ago

Did you solve the problem? I'm in the same situation.

Vegetebird commented 11 months ago

Maybe the error is caused by the first frame of the video not detecting a person.

835376431 commented 11 months ago

I encountered the same problem, is there any solution?