Replies: 1 comment
-
@halqadasi yes, you can adjust the model.conf = 0.30 # Set a new confidence threshold
model.iou = 0.50 # Set a new IoU threshold for NMS Just replace For more detailed information on how to use and configure YOLOv8 models, please refer to our documentation at https://docs.ultralytics.com. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have used the pre-trained model below from the PyTorch hub in the inference time. The output of the model here includes the NMS, my question is: Can we change the default values of
iou
andconf
which are 0.45 and 0.25, respectively during the inference?model = torch.hub.load('ultralytics/yolov5', 'yolov5s', pretrained=True)
Beta Was this translation helpful? Give feedback.
All reactions