open-mmlab / mmpose

OpenMMLab Pose Estimation Toolbox and Benchmark.
https://mmpose.readthedocs.io/en/latest/
Apache License 2.0
5.61k stars 1.22k forks source link

Meaning of the last two elements of `preds` in bottom up result #645

Open alicera opened 3 years ago

alicera commented 3 years ago

I try to print the array {'preds': [array([[9.70417969e+02, 4.94542969e+02, 1.00000000e+00, 1.00000000e+00, 1.00000000e+00] I only know the first x,y, keypoint_score . The other doesnt know.

https://user-images.githubusercontent.com/59388989/117801610-1b1ac380-b287-11eb-990c-e37de7c3f39d.png

jin-s13 commented 3 years ago

They are just placeholders for tag-values. Please just ignore them.

alicera commented 3 years ago

array([[9.70417969e+02, 4.94542969e+02, 1.00000000e+00, 1.00000000e+00, 1.00000000e+00] [ x , y , keypoint_score , tag, tag] # for nose Is it correct ?

And how about scores [0.8049]? How to define scores.

jin-s13 commented 3 years ago

All scores are changed to 1.0, as suggested by MSCOCO Team.

alicera commented 3 years ago

All scores are changed to 1.0, as suggested by MSCOCO Team. Where is the reference? Sorry, I cant understand the scores define.

I only have two things. one is the scores represent the person score. the other is the scores represent all keypoint scores. So the value is higher, it is visible keypoint. Thanks

jin-s13 commented 3 years ago

The following is copied from https://cocodataset.org/#format-results

Note: keypoint coordinates are floats measured from the top left image corner (and are 0-indexed). We recommend rounding coordinates to the nearest pixel to reduce file size. Note also that the visibility flags vi are not currently used (except for controlling visualization), we recommend simply setting vi=1.