facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.12k stars 7.42k forks source link

Adjusting Model Confidence Level #5238

Open Rahul6903 opened 6 months ago

Rahul6903 commented 6 months ago

it's possible to adjust a model's confidence level because i unable to obtain the complete labeled coordinates along with the corresponding text

Programmer-RD-AI commented 4 months ago

Hi, You can change the configuration file as follows: MODEL: ROI_HEADS: SCORE_THRESH_TEST: 0.5 # Set this to your desired threshold OR You can add the following code segement to when using loading the figuration file cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.5