pytorch-yolo-v3
pytorch-yolo-v3 copied to clipboard
threshold
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.
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)**