PIC4SeR / AcT

Official code for "Action Transformer: A Self-attention Model for Short-time Pose-based Human Action Recognition", Pattern Recognition (2022).
https://www.sciencedirect.com/science/article/pii/S0031320321006634
71 stars 17 forks source link

KeyError problem #10

Closed polarbear55688 closed 11 months ago

polarbear55688 commented 11 months ago

Sorry to bother you, when I running this program,it show KeyError: 'openpose_legacy' . I check the file and it shows that the problem is in python3.7/site-packages/mpose/mpose.py", line 81, in set_data_config self.K = self.config['DATASET'][self.pose_extractor]['K'] I want to know how to solve it. Thank you!

simoneangarano commented 11 months ago

Sorry, just change 'openpose_legacy' to 'openpose', and everything should work fine. That configuration was for an older version of the mpose package, which has recently been updated. I hope this solves your problem!

polarbear55688 commented 11 months ago

It's working! thank you very much