xingyizhou / pytorch-pose-hg-3d

PyTorch implementation for 3D human pose estimation
GNU General Public License v3.0
613 stars 143 forks source link

Runtime error #22

Closed MetaDev closed 6 years ago

MetaDev commented 6 years ago

When trying to run the demo I get: File "/media/ssddata/harald/code/Movement/motion_map/test/pytorch-pose-hg-3d/src/models/hg_3d.py", line 57, in forward return up1 + up2 RuntimeError: The size of tensor a (5) must match the size of tensor b (4) at non-singleton dimension 2

Any idea what I might be doing wrong?

MetaDev commented 6 years ago

It was because I was using an image which didn't have a 1:1 ratio