hanxingjian / GroundLink

MIT License
11 stars 5 forks source link

Preprocessing script error #6

Open Kristofferson777 opened 6 months ago

Kristofferson777 commented 6 months ago

I'm not sure how to set up the data properly in order to get the data to be preprocessed correctly.

This is the error I am receiving when running the preprocess.ipynb:

KeyError Traceback (most recent call last) Cell In[6], line 34 32 trial = os.path.splitext(forcefile)[0].split(bar)[-1] 33 motion = trial[14:-2] ---> 34 if motiontype[motion] == 'ballet_high': 35 continue 36 if participant == 's001' and motion == 'idling':

KeyError: 's001/ballethighleg'

Screenshot from 2024-03-01 18-47-28 Screenshot from 2024-03-01 18-47-31 Screenshot from 2024-03-01 18-47-33 Screenshot from 2024-03-01 18-47-38 Screenshot from 2024-03-01 18-47-40

ericchen321 commented 5 months ago

Not sure if this's the cause, but have you checked if you're using the correct version of SMPL-X model? The third link on SMPL-X's website is the one that's built for Mosh codebase.