Open thoth000 opened 1 year ago
--format in option only offers 'cmu' or 'open' otherwise it'll give coco formatted json results. If you want to save in MP2 format, I think you'll need to modifiy write_json function in alphapose/utils/pPose_nms.py. In addition, in order to visualize skeletons in MP2 format, you have to modifiy the variable format='coco' in vis_frame function in alphapose/utils/vis.py.
This would be helpful. https://github.com/MVIG-SJTU/AlphaPose/blob/43c81cb478c4af85172fcf21a3d0223e7b69333b/docs/output.md
I want to generate JSON files with MPII keypoint order, not COCO.
So I ran the following command. I changed
--format coco
to--format MPII
.However, a portion of the output data shows that the number of elements in keypoints is 51, which is keypoints in COCO.
How can I output the JSON file for the MPII case?