Open sadegh-aa opened 4 years ago
Hi Sadegh,
Are you running this command?
python motion_pred/eval.py --cfg h36m_nsamp10 --mode vis
I'm able to run it without error. This is my matplotlib version:
# Name Version Build Channel
matplotlib 3.0.3 py36h54f8f79_0
Is it because we are using different versions?
嗨,
感谢您的出色工作和共享代码。我正在玩代码,并尝试使用预训练权重来评估您的模型,然而,当我想用您在readme中提到的命令可视化结果时,我收到了以下错误:
File DLow/motion_pred/utils/visualization.py", line 109, in update_video lines_3d[n][j-1][0].set_3d_properties([pos[j, 2], pos[j_parent, 2]], zdir='z') File "/home/sadegh/.local/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 143, in set_3d_properties zs = np.broadcast_to(zs, xs.shape) AttributeError: 'list' object has no attribute 'shape'
你知道怎么解决这个问题吗?
干杯,萨迪
Hi,
Thank you for the nice work and for sharing the code. I'm playing with the code and try to evaluate your model with pretrained weights, however, when I want to visualize the result with the command you've mentioned in the readme, I get this error:
File DLow/motion_pred/utils/visualization.py", line 109, in update_video lines_3d[n][j-1][0].set_3d_properties([pos[j, 2], pos[j_parent, 2]], zdir='z') File "/home/sadegh/.local/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 143, in set_3d_properties zs = np.broadcast_to(zs, xs.shape) AttributeError: 'list' object has no attribute 'shape'
Do you know how to fix this?
Cheers, Sadegh
I also meet this question! Have you solved the problem, please?
The question is matplotlib version ! When the version is 3.0.3, the project works correctly
Hi,
Thank you for the nice work and for sharing the code. I'm playing with the code and try to evaluate your model with pretrained weights, however, when I want to visualize the result with the command you've mentioned in the readme, I get this error:
Do you know how to fix this?
Cheers, Sadegh