You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|Object detection using `yolov5`|`img_size`<br>`model_size`<br>`box_score_thresh`<br>`nms_iou_thresh`| 640<br>medium<br>0.1<br>0.5 |
498
498
499
499
For a detailed description on task specific hyperparameters, please refer to [Hyperparameters for computer vision tasks in automated machine learning](reference-automl-images-hyperparameters.md).
Copy file name to clipboardExpand all lines: articles/machine-learning/reference-automl-images-hyperparameters.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,7 @@ This table summarizes hyperparameters specific to the `yolov5` algorithm.
30
30
|`model_size`| Model size. <br> Must be `small`, `medium`, `large`, or `xlarge`. <br><br> *Note: training run may get into CUDA OOM if the model size is too big*. |`medium`|
31
31
|`multi_scale`| Enable multi-scale image by varying image size by +/- 50% <br> Must be 0 or 1. <br> <br> *Note: training run may get into CUDA OOM if no sufficient GPU memory*. | 0 |
32
32
|`box_score_thresh`| During inference, only return proposals with a score greater than `box_score_thresh`. The score is the multiplication of the objectness score and classification probability. <br> Must be a float in the range [0, 1]. | 0.1 |
33
-
|`nms_iou_thresh`| IoU threshold used during inference in non-maximum suppression post processing. <br> Must be a float in the range [0, 1]. | 0.5 |
34
-
33
+
|`nms_iou_thresh`| IOU threshold used during inference in non-maximum suppression post processing. <br> Must be a float in the range [0, 1]. | 0.5 |
35
34
36
35
## Model agnostic hyperparameters
37
36
@@ -92,7 +91,7 @@ The following hyperparameters are for object detection and instance segmentation
92
91
|`min_size`| Minimum size of the image to be rescaled before feeding it to the backbone. <br> Must be a positive integer. <br> <br> *Note: training run may get into CUDA OOM if the size is too big*.| 600 |
93
92
|`max_size`| Maximum size of the image to be rescaled before feeding it to the backbone. <br> Must be a positive integer.<br> <br> *Note: training run may get into CUDA OOM if the size is too big*. | 1333 |
94
93
|`box_score_thresh`| During inference, only return proposals with a classification score greater than `box_score_thresh`. <br> Must be a float in the range [0, 1].| 0.3 |
95
-
|`box_nms_thresh`|Non-maximum suppression (NMS) threshold for the prediction head. Used during inference. <br>Must be a float in the range [0, 1]. | 0.5 |
94
+
|`nms_iou_thresh`|IOU (intersection over union) threshold used in non-maximum suppression (NMS) for the prediction head. Used during inference. <br>Must be a float in the range [0, 1]. | 0.5 |
96
95
|`box_detections_per_img`| Maximum number of detections per image, for all classes. <br> Must be a positive integer.| 100 |
97
96
|`tile_grid_size`| The grid size to use for tiling each image. <br>*Note: tile_grid_size must not be None to enable [small object detection](how-to-use-automl-small-object-detect.md) logic*<br> A tuple of two integers passed as a string. Example: --tile_grid_size "(3, 2)" | No Default |
98
97
|`tile_overlap_ratio`| Overlap ratio between adjacent tiles in each dimension. <br> Must be float in the range of [0, 1) | 0.25 |
0 commit comments