pytorch-yolo-v3 icon indicating copy to clipboard operation
pytorch-yolo-v3 copied to clipboard

threshold

Open visanz2 opened this issue 6 years ago • 1 comments
trafficstars

How can I define the threshold in yolo in the code? For example, I would like that Yolo detects everything with a threshold of 0.5.

visanz2 avatar Feb 26 '19 02:02 visanz2

hi, go to line 78 in video_demo.py or cam_demo.py and change the confidence value accordingly.

parser.add_argument("--confidence", dest = "confidence", help = "Object Confidence to filter predictions", default = **0.30)**

PrakharPrashantSingh avatar Oct 14 '19 17:10 PrakharPrashantSingh