Skip to content

Commit 9e5fe21

Browse files
committed
addressing comments
1 parent 675e49e commit 9e5fe21

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

articles/machine-learning/how-to-auto-train-image-models.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ task: image_object_detection
8181
```
8282

8383
# [Python SDK v2 (preview)](#tab/SDK-v2)
84-
Based on the task type, you can create automl image jobs using task specific `automl` functions.
84+
Based on the task type, you can create AutoML image jobs using task specific `automl` functions.
8585

8686
For example:
8787

@@ -274,7 +274,7 @@ In addition to controlling the model algorithm, you can also tune hyperparameter
274274

275275
### Data augmentation
276276

277-
In general, deep learning model performance can often improve with more data. Data augmentation is a practical technique to amplify the data size and variability of a dataset which helps to prevent overfitting and improve the model’s generalization ability on unseen data. Automated ML applies different data augmentation techniques based on the computer vision task, before feeding input images to the model. Currently, there is no exposed hyperparameter to control data augmentations.
277+
In general, deep learning model performance can often improve with more data. Data augmentation is a practical technique to amplify the data size and variability of a dataset which helps to prevent overfitting and improve the model’s generalization ability on unseen data. Automated ML applies different data augmentation techniques based on the computer vision task, before feeding input images to the model. Currently, there's no exposed hyperparameter to control data augmentations.
278278

279279
|Task | Impacted dataset | Data augmentation technique(s) applied |
280280
|-------|----------|---------|
@@ -304,7 +304,7 @@ If you wish to use the default hyperparameter values for a given algorithm (say
304304
image_object_detection_job.set_image_model(model_name="yolov5")
305305
```
306306
---
307-
Once you've built a baseline model, you might want to optimize model performance in order to sweep over the model algorithm and hyperparameter space. You can use the following sample config to sweep over the hyperparameters for each algorithm, choosing from a range of values for learning_rate, optimizer, lr_scheduler, etc., to generate a model with the optimal primary metric. If hyperparameter values are not specified, then default values are used for the specified algorithm.
307+
Once you've built a baseline model, you might want to optimize model performance in order to sweep over the model algorithm and hyperparameter space. You can use the following sample config to sweep over the hyperparameters for each algorithm, choosing from a range of values for learning_rate, optimizer, lr_scheduler, etc., to generate a model with the optimal primary metric. If hyperparameter values aren't specified, then default values are used for the specified algorithm.
308308

309309
### Primary metric
310310

@@ -655,7 +655,7 @@ az ml online-deployment create --file .\create_deployment.yml --workspace-name [
655655
---
656656

657657
### update traffic:
658-
By default the current deployment is set to receive 0% traffic. you can set the traffic percentage current deployment should receive. Sum of traffic percentages of all the deployments with one end point should not exceed 100%.
658+
By default the current deployment is set to receive 0% traffic. you can set the traffic percentage current deployment should receive. Sum of traffic percentages of all the deployments with one end point shouldn't exceed 100%.
659659

660660
# [CLI v2](#tab/CLI-v2)
661661

@@ -672,20 +672,20 @@ az ml online-endpoint update --name 'od-fridge-items-endpoint' --traffic 'od-fri
672672

673673

674674
Alternatively You can deploy the model from the [Azure Machine Learning studio UI](https://ml.azure.com/).
675-
Navigate to the model you wish to deploy in the **Models** tab of the automated ML run and click on **Deploy** and select **Deploy to real-time endpoint** .
675+
Navigate to the model you wish to deploy in the **Models** tab of the automated ML run and select on **Deploy** and select **Deploy to real-time endpoint** .
676676

677-
![Deploy configuration](./media/how-to-auto-train-image-models/deploy-endpoint.png)
677+
![Screenshot of how the Deployment page looks like after selecting the Deploy option.](./media/how-to-auto-train-image-models/deploy-end-point.png).
678678

679679
this is how your review page looks like. we can select instance type, instance count and set traffic percentage for the current deployment.
680680

681-
![Review Deploy1](./media/how-to-auto-train-image-models/review-deploy1.png)
682-
![Review Deploy2](./media/how-to-auto-train-image-models/review-deploy2.png)
681+
![Screenshot of how the top of review page looks like after selecting the options to deploy.](./media/how-to-auto-train-image-models/review-deploy-1.png).
682+
![Screenshot of how the bottom of review page looks like after selecting the options to deploy.](./media/how-to-auto-train-image-models/review-deploy-2.png).
683683

684684
### Update inference settings
685685

686686
In the previous step, we downloaded a file `mlflow-model/artifacts/settings.json` from the best model. which can be used to update the inference settings before registering the model. Although its's recommended to use the same parameters as training for best performance.
687687

688-
Each of the tasks (and some models) have a set of parameters. By default, we use the same values for the parameters that were used during the training and validation. Depending on the behavior that we need when using the model for inference, we can change these parameters. Below you can find a list of parameters for each task type and model.
688+
Each of the tasks (and some models) has a set of parameters. By default, we use the same values for the parameters that were used during the training and validation. Depending on the behavior that we need when using the model for inference, we can change these parameters. Below you can find a list of parameters for each task type and model.
689689

690690
| Task | Parameter name | Default |
691691
|--------- |------------- | --------- |

articles/machine-learning/tutorial-auto-train-image-models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ Once the run completes, you can register the model that was created from the bes
409409
[!Notebook-python[] (~/azureml-examples-main/sdk/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb?name=download_model)]
410410
---
411411

412-
### register the model
412+
### Register the model
413413

414414
Register the model either using the azureml path or your locally downloaded path.
415415

@@ -514,7 +514,7 @@ az ml online-deployment create --file .\create_deployment.yml --workspace-name [
514514
[!Notebook-python[] (~/azureml-examples-main/sdk/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb?name=create_deploy)]
515515
---
516516

517-
### update traffic:
517+
### Update traffic:
518518
By default the current deployment is set to receive 0% traffic. you can set the traffic percentage current deployment should receive. Sum of traffic percentages of all the deployments with one end point should not exceed 100%.
519519

520520
# [CLI v2](#tab/CLI-v2)

0 commit comments

Comments
 (0)