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
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-auto-train-image-models.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,13 @@ The primary metric used for model optimization and hyperparameter tuning depends
317
317
318
318
### Job Limits
319
319
320
-
You can control the resources spent on your Vision training by specifying the `timeout_minutes`, `max_trials`and the `max_concurrent_trials`for the job in limit settings as described in the below example. [detailed description on Job Limits parameters](./tutorial-auto-train-image-models.md#job-limits).
320
+
You can control the resources spent on your AutoML Image training job by specifying the `timeout_minutes`, `max_trials`and the `max_concurrent_trials`for the job in limit settings as described in the below example.
321
+
322
+
Parameter | Detail
323
+
-----|----
324
+
`max_trials`| Required parameter for maximum number of configurations to sweep. Must be an integer between 1and1000. When exploring just the default hyperparameters for a given model algorithm, set this parameter to 1.
325
+
`max_concurrent_trials`| Maximum number of runs that can run concurrently. If not specified, all runs launch in parallel. If specified, must be an integer between 1and100. <br><br>**NOTE:** The number of concurrent runs is gated on the resources available in the specified compute target. Ensure that the compute target has the available resources for the desired concurrency.
326
+
`timeout_minutes`| The amount of time in minutes before the experiment terminates. If none specified, default experiment timeout_minutes is seven days (maximum 60 days)
321
327
322
328
# [CLI v2](#tab/CLI-v2)
323
329
@@ -375,8 +381,6 @@ You can automatically end poorly performing runs with an early termination polic
375
381
376
382
Learn more about [how to configure the early termination policy for your hyperparameter sweep](how-to-tune-hyperparameters.md#early-termination).
377
383
378
-
### Resources for the sweep
379
-
380
384
> [!NOTE]
381
385
> For a complete sweep configuration sample, please refer to this [tutorial](tutorial-auto-train-image-models.md#hyperparameter-sweeping-for-image-tasks).
Copy file name to clipboardExpand all lines: articles/machine-learning/tutorial-auto-train-image-models.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -308,15 +308,7 @@ In this example, we will train an object detection model with `yolov5` and `fast
308
308
309
309
### Job Limits
310
310
311
-
You can control the resources spent on your Vision training by specifying the `timeout_minutes`, `max_trials` and the `max_concurrent_trials` for the job in limit settings.
312
-
313
-
Parameter | Detail
314
-
-----|----
315
-
`max_trials`| Required parameter for maximum number of configurations to sweep. Must be an integer between 1 and 1000. When exploring just the default hyperparameters for a given model algorithm, set this parameter to 1.
316
-
`max_concurrent_trials`| Maximum number of runs that can run concurrently. If not specified, all runs launch in parallel. If specified, must be an integer between 1 and 100. <br><br> **NOTE:** The number of concurrent runs is gated on the resources available in the specified compute target. Ensure that the compute target has the available resources for the desired concurrency.
317
-
`timeout_minutes`| The amount of time in minutes before the experiment terminates. If none specified, default experiment timeout_minutes is seven days (maximum 60 days)
318
-
319
-
311
+
You can control the resources spent on your AutoML Image training job by specifying the `timeout_minutes`, `max_trials` and the `max_concurrent_trials` for the job in limit settings.[detailed description on Job Limits parameters](./how-to-auto-train-image-models.md#job-limits).
@@ -340,7 +332,7 @@ You can perform a hyperparameter sweep over a defined search space to find the o
340
332
341
333
The following code, defines the search space in preparation for the hyperparameter sweep for each defined algorithm, `yolov5` and `fasterrcnn_resnet50_fpn`. In the search space, specify the range of values for `learning_rate`, `optimizer`, `lr_scheduler`, etc., for AutoML to choose from as it attempts to generate a model with the optimal primary metric. If hyperparameter values are not specified, then default values are used for each algorithm.
342
334
343
-
For the tuning settings, use random sampling to pick samples from this parameter space by using the `random` sampling_algorithm. Doing so, tells automated ML to try a total of 10 trials with these different samples, running two trials at a time on our compute target, which was set up using four nodes. The more parameters the search space has, the more trials you need to find optimal models.
335
+
For the tuning settings, use random sampling to pick samples from this parameter space by using the `random` sampling_algorithm. The job limits configured above, tells automated ML to try a total of 10 trials with these different samples, running two trials at a time on our compute target, which was set up using four nodes. The more parameters the search space has, the more trials you need to find optimal models.
344
336
345
337
The Bandit early termination policy is also used. This policy terminates poor performing configurations; that is, those configurations that are not within 20% slack of the best performing configuration, which significantly saves compute resources.
0 commit comments