MoPA icon indicating copy to clipboard operation
MoPA copied to clipboard

KeyError: 'trans'

Open Andyen512 opened this issue 2 years ago • 3 comments

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'

Andyen512 avatar Apr 01 '22 06:04 Andyen512

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

yanchxx avatar Apr 01 '22 06:04 yanchxx

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

Andyen512 avatar Apr 01 '22 06:04 Andyen512

ah, I found the line 83was '#'

Andyen512 avatar Apr 01 '22 07:04 Andyen512