Skip to content

Commit deee0d8

Browse files
committed
Address PR comments
1 parent a8b485d commit deee0d8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/machine-learning/how-to-use-automl-small-object-detect.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To enable tiling, you can set the `tile_grid_size` parameter to a value like '3x
4646

4747
When tiling is enabled, the entire image and the tiles generated from it are passed through the model. These images and tiles are resized according to the `min_size` and `max_size` parameters before feeding to the model. The computation time increases proportionally because of processing this extra data.
4848

49-
For example, when the `tile_grid_size` parameter is '3x2', the computation time would be approximately seven times when compared to no tiling.
49+
For example, when the `tile_grid_size` parameter is '3x2', the computation time would be approximately seven times higher than without tiling.
5050

5151
You can specify the value for `tile_grid_size` in your training parameters as a string.
5252

@@ -79,11 +79,11 @@ To choose the optimal value for this parameter for your dataset, you can use hyp
7979
```yaml
8080
search_space:
8181
- model_name:
82-
type: choice
83-
values: ['fasterrcnn_resnet50_fpn']
82+
type: choice
83+
values: ['fasterrcnn_resnet50_fpn']
8484
tile_grid_size:
85-
type: choice
86-
values: ['2x1', '3x2', '5x3']
85+
type: choice
86+
values: ['2x1', '3x2', '5x3']
8787
```
8888
8989
# [Python SDK v2 (preview)](#tab/SDK-v2)
@@ -119,7 +119,7 @@ The following are the parameters you can use to control the tiling feature.
119119

120120
| Parameter Name | Description | Default |
121121
| --------------- |-------------| -------|
122-
| `tile_grid_size` | The grid size to use for tiling each image. Available for use during training, validation, and inference.<br><br> Should be passed as a string in `'3x2'` format.<br><br> *Note: Setting this parameter increases the computation time proportionally, since all tiles and images are processed by the model.*| no default value |
122+
| `tile_grid_size` | The grid size to use for tiling each image. Available for use during training, validation, and inference.<br><br>Should be passed as a string in `'3x2'` format.<br><br> *Note: Setting this parameter increases the computation time proportionally, since all tiles and images are processed by the model.*| no default value |
123123
| `tile_overlap_ratio` | Controls the overlap ratio between adjacent tiles in each dimension. When the objects that fall on the tile boundary are too large to fit completely in one of the tiles, increase the value of this parameter so that the objects fit in at least one of the tiles completely.<br> <br> Must be a float in [0, 1).| 0.25 |
124124
| `tile_predictions_nms_thresh` | The intersection over union threshold to use to do non-maximum suppression (nms) while merging predictions from tiles and image. Available during validation and inference. Change this parameter if there are multiple boxes detected per object in the final predictions. <br><br> Must be float in [0, 1]. | 0.25 |
125125

articles/machine-learning/v1/how-to-use-automl-small-object-detect-v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ To enable tiling, you can set the `tile_grid_size` parameter to a value like (3,
5050

5151
When tiling is enabled, the entire image and the tiles generated from it are passed through the model. These images and tiles are resized according to the `min_size` and `max_size` parameters before feeding to the model. The computation time increases proportionally because of processing this extra data.
5252

53-
For example, when the `tile_grid_size` parameter is (3, 2), the computation time would be approximately seven times when compared to no tiling.
53+
For example, when the `tile_grid_size` parameter is (3, 2), the computation time would be approximately seven times higher than without tiling.
5454

5555
You can specify the value for `tile_grid_size` in your hyperparameter space as a string.
5656

0 commit comments

Comments
 (0)