Skip to content

Commit 150f8f7

Browse files
committed
fix merge mistakes
1 parent ae70b35 commit 150f8f7

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

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

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,9 @@ Once the run completes, you can register the model that was created from the bes
563563

564564
```
565565

566-
# [Python SDK v2 (preview)](#tab/SDK-v2)
566+
# [Python SDK](#tab/python)
567+
568+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
567569

568570
[!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=best_run)]
569571

@@ -583,7 +585,9 @@ Register the model either using the azureml path or your locally downloaded path
583585
```azurecli
584586
az ml model create --name od-fridge-items-mlflow-model --version 1 --path azureml://jobs/$best_run/outputs/artifacts/outputs/mlflow-model/ --type mlflow_model --workspace-name [YOUR_AZURE_WORKSPACE] --resource-group [YOUR_AZURE_RESOURCE_GROUP] --subscription [YOUR_AZURE_SUBSCRIPTION]
585587
```
586-
# [Python SDK v2 (preview)](#tab/SDK-v2)
588+
# [Python SDK](#tab/python)
589+
590+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
587591

588592
[!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=register_model)]
589593
---
@@ -602,7 +606,9 @@ name: od-fridge-items-endpoint
602606
auth_mode: key
603607
```
604608

605-
# [Python SDK v2 (preview)](#tab/SDK-v2)
609+
# [Python SDK](#tab/python)
610+
611+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
606612

607613
[!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=endpoint)]
608614

@@ -620,7 +626,9 @@ Using the `MLClient` created earlier, we'll now create the Endpoint in the works
620626
az ml online-endpoint create --file .\create_endpoint.yml --workspace-name [YOUR_AZURE_WORKSPACE] --resource-group [YOUR_AZURE_RESOURCE_GROUP] --subscription [YOUR_AZURE_SUBSCRIPTION]
621627
```
622628

623-
# [Python SDK v2 (preview)](#tab/SDK-v2)
629+
# [Python SDK](#tab/python)
630+
631+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
624632

625633
[!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_endpoint)]
626634
---
@@ -654,7 +662,9 @@ readiness_probe:
654662
initial_delay: 2000
655663
```
656664

657-
# [Python SDK v2 (preview)](#tab/SDK-v2)
665+
# [Python SDK](#tab/python)
666+
667+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
658668

659669
[!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=deploy)]
660670
---
@@ -672,7 +682,9 @@ Using the `MLClient` created earlier, we'll now create the deployment in the wor
672682
az ml online-deployment create --file .\create_deployment.yml --workspace-name [YOUR_AZURE_WORKSPACE] --resource-group [YOUR_AZURE_RESOURCE_GROUP] --subscription [YOUR_AZURE_SUBSCRIPTION]
673683
```
674684

675-
# [Python SDK v2 (preview)](#tab/SDK-v2)
685+
# [Python SDK](#tab/python)
686+
687+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
676688

677689
[!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)]
678690
---
@@ -688,7 +700,9 @@ By default the current deployment is set to receive 0% traffic. you can set the
688700
az ml online-endpoint update --name 'od-fridge-items-endpoint' --traffic 'od-fridge-items-mlflow-deploy=100' --workspace-name [YOUR_AZURE_WORKSPACE] --resource-group [YOUR_AZURE_RESOURCE_GROUP] --subscription [YOUR_AZURE_SUBSCRIPTION]
689701
```
690702

691-
# [Python SDK v2 (preview)](#tab/SDK-v2)
703+
# [Python SDK](#tab/python)
704+
705+
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
692706

693707
[!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=update_traffic)]
694708
---
@@ -730,6 +744,7 @@ Review detailed code examples and use cases in the [GitHub notebook repository f
730744

731745

732746
## Code examples
747+
733748
# [Azure CLI](#tab/cli)
734749

735750
Review detailed code examples and use cases in the [azureml-examples repository for automated machine learning samples](https://github.com/Azure/azureml-examples/tree/sdk-preview/cli/jobs/automl-standalone-jobs).

0 commit comments

Comments
 (0)