QuickMocap-BlenderAddon icon indicating copy to clipboard operation
QuickMocap-BlenderAddon copied to clipboard

KeyError at import

Open sascharo opened this issue 3 years ago • 2 comments

When trying to import motion from AMASS' DanceDB I get the error below:

File "X:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\QuickMocap-BlenderAddon-master\operators\quickmocap_Op_ImportNumpyMocap.py", line 21, in execute
    poses_process = SMPL_Importer_.process_poses(
File "X:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\QuickMocap-BlenderAddon-master\helpers\smpl_import.py", line 256, in process_poses
    data = np.load(self.input_path, allow_pickle=True)['results'][()]
File "X:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\numpy\lib\npyio.py", line 249, in __getitem__
    raise KeyError("%s is not a file in the archive" % key)
KeyError: 'results is not a file in the archive'

sascharo avatar Oct 19 '22 15:10 sascharo

Sorry but I don't know what AMASS DanceDB is. This addon was made specifically for ROMP's pickle output not another program. Can you upload/link the .pkl file you're trying to use so I can check if it has the same attributes needed?

vltmedia avatar Oct 19 '22 17:10 vltmedia

Sorry but I don't know what AMASS DanceDB is. This addon was made specifically for ROMP's pickle output not another program. Can you upload/link the .pkl file you're trying to use so I can check if it has the same attributes needed?

I am sorry, the file format is new to me, and I thought it was a more general format. The data I tried can be found here amass.is.tue.mpg.de/download.php under DanceDB. Some more information: dancedb.eu More mocap takes to download: dancedb.eu/main/performances

sascharo avatar Oct 20 '22 04:10 sascharo