yanchxx / MoPA

An Blender addon uses ROMP to extract human's 3D poses from image, video or webcam and drive your own 3D character.
MIT License
244 stars 50 forks source link

KeyError: 'trans' #14

Closed Andyen512 closed 2 years ago

Andyen512 commented 2 years ago

when I ues my own npz file, it got wrongs as follows, can you tell me why? in run self._target(*self._args, **self._kwargs) File "server.py", line 26, in tcplink data = getData() File "server.py", line 16, in getData temp = np.append(a[key][0]['poses'], a[key][0]['trans']) KeyError: 'trans'

yanchxx commented 2 years ago

It looks like the key 'trans' is missing from your npz dict.

Andyen512 commented 2 years ago

I just run this to get the npz file, is there anthing I should do?

Andyen512 commented 2 years ago

ah, I found the line 83was '#'