vltmedia / QuickMocap-BlenderAddon

Use this Blender Addon to import & clean Mocap Pose data from .npz or .pkl files. These files may have been created using Numpy, ROMP, or other motion capture processes that package their files accordingly.
Other
24 stars 5 forks source link

KeyError at import #8

Open sascharo opened 1 year ago

sascharo commented 1 year ago

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'
vltmedia commented 1 year ago

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?

sascharo commented 1 year ago

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