garyzhao / SemGCN

The Pytorch implementation for "Semantic Graph Convolutional Networks for 3D Human Pose Regression" (CVPR 2019).
https://arxiv.org/abs/1904.03345
Apache License 2.0
460 stars 78 forks source link

Data set error #34

Open mslqing opened 3 years ago

mslqing commented 3 years ago

@garyzhao Hello, thank you very much for your work. When I ran Python prepare_data_h36m.py --from- Archive H36m.zip, I got the following error:

Extracting Human3.6M dataset from h36m.zip Converting... Traceback (most recent call last): File "prepare_data_h36m.py", line 66, in positions = hf['3D_positions'].value.reshape(32, 3, -1).transpose(2, 0, 1) AttributeError: 'Dataset' object has no attribute 'value'

Looking forward to your reply!

garyzhao commented 3 years ago

Hi @mslqing ,

I guess this is because you use a higher version of h5py where their API is changed.

Could you please try to downgrade it to a lower vision?

Best, Long

yangchris11 commented 2 years ago

Try h5py==2.9.0, it worked for me!