facebookresearch / Detectron

FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.
Apache License 2.0
26.27k stars 5.45k forks source link

How can I get the scores of all object detected in an image? #707

Open sdalxn opened 6 years ago

sdalxn commented 6 years ago

I wan to get the scores of all objects detected in an image, even though the score is zero. How can I get it?

For example. I have trained a model include 20 classes using Mask RCNN. So I can detect some kinds of objects presented in an image and some not.

I know whether the mask and bounding box presented in the image or not is determined by the score. The score is the probability of the object belonging to some category.

Could someone help me get the score?

Everyone 's opinion will be appreciated.

kleinzcy commented 5 years ago

I think, you can find the score in the output files.