pieterwolfert / co-speech-humanoids

Co-Speech Gesture Generation for Humanoid Robots
13 stars 3 forks source link

Update preprocessing to handle new json key names #3

Open a-haydar opened 5 years ago

a-haydar commented 5 years ago

Some JSON files seem to have newer key names for pose keypoints (namely, pose_keypoints_2d instead of pose_keypoints). The following portion may need to be updated to accommodate both possible key names:

https://github.com/pieterwolfert/co-speech-humanoids/blob/e9774102b31c57c9ac56c290e83a10cbdc754d8e/preprocessing.py#L44-L46

I'm leaving this as an issue for now since other related issues might appear later and can likely be fixed together with this issue.