MVIG-SJTU / RMPE

RMPE: Regional Multi-person Pose Estimation, forked from Caffe. Research purpose only.
Other
258 stars 84 forks source link

NameError: name 'PCK_pose_NMS' is not defined #1

Open samylee opened 7 years ago

samylee commented 7 years ago

Hi Haoshu Fang, Thank you for sharing the code. But when I ran the "python examples/rmpe/demo.py" without runing the "jupyter notebook examples/rmpe/Regional\ Multi-person\ Pose\ Estimation.ipynb", the output was "NameError: name 'PCK_pose_NMS' is not defined". Then I checked your code in whole project about this function named "PCK_pose_NMS", and I did not find it. Did I miss something? Any suggestions would be helpful to me. Thanks!!!

Samylee

Fang-Haoshu commented 7 years ago

Hi @samylee

Thanks for your message. Sorry that I forget to update demo.py after I modify the name of PCK_pose_NMS. Now I have fixed it.

You can change the 'PCK_pose_NMS' to 'pose_NMS' and the code will be alright. BTW, the 'mppp' in line 45&46 should be 'rmpe'

If you get any other questions, pls let me know:)