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

When I try to import npz file , I am getting following errors (I tried in blender 2.83, 2.92,2.93 with release Quick Mocap v0.3.3.2 Bug Fix):

Open Crackpack opened this issue 3 years ago • 4 comments

Processing: E:/AI/ROMP/ROMP-master/demo/sample_video2_results/sample_video2_results/sample_video2_results.npz Traceback (most recent call last): File "C:\Users\Sanjay\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\QuickMocap\operators\quickmocap_Op_ImportNumpyMocap.py", line 31, in execute rotate_neg=quickmocap_tool.rotate_neg, File "C:\Users\Sanjay\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\QuickMocap\helpers\smpl_import.py", line 250, in process_poses self.poses[frame_id] = data['{}'.format(frame_id)][0]['pose'] KeyError: '0'

location: :-1

location: :-1 Error: Traceback (most recent call last): File "C:\Users\Sanjay\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\QuickMocap\operators\quickmocap_Op_ImportNumpyMocap.py", line 31, in execute rotate_neg=quickmocap_tool.rotate_neg, File "C:\Users\Sanjay\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\QuickMocap\helpers\smpl_import.py", line 250, in process_poses self.poses[frame_id] = data['{}'.format(frame_id)][0]['pose'] KeyError: '0'

location: :-1

I am using npz values from sample video 2 of ROMP

Crackpack avatar Oct 17 '21 10:10 Crackpack

Can you link me the .npz file and we can test it? It seems the SMPL importer is having trouble with the .npz file you're feeding it.

vltmedia avatar Oct 17 '21 17:10 vltmedia

Sure: https://drive.google.com/file/d/1cgseE854K3ef6EuZj8xA_E1e1pXmQTgK/view?usp=sharing

https://drive.google.com/file/d/1pIuh5RsbTgBWdV__RiCpoGP4GNVPa3cJ/view?usp=sharing

Crackpack avatar Oct 17 '21 17:10 Crackpack

After checking out ROMP, it seems they have updated it and changed something in the packaging or the .npz file.

We will put someone on this within the next two weeks.

As for now, please attempt to use the output of ROMP Version 1.0 not 1.1. That should at least get the proper .npz exported and loaded with this addon. ROMP 1.0 Release

vltmedia avatar Oct 25 '21 18:10 vltmedia

Has this been fixed?

sascharo avatar Oct 19 '22 15:10 sascharo