Where can I change the NMS parameters? #1426
-
As is mentioned in the title, I want to change the parameter of NMS. I've met some problems when I want to predict on the yolov8n model. Sometimes the Prediction produces 2-3 detections on the same object. How can I optimize it? |
Beta Was this translation helpful? Give feedback.
Answered by
Pranay-Pandey
Mar 14, 2023
Replies: 1 comment 2 replies
-
Change it while performing the prediction using the YOLO model object Example - |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mochiao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change it while performing the prediction using the YOLO model object
Example -
model = YOLO("yolov8n.pt")
results = model(file, conf=value, iou=iou_threshold)