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
@@ -78,14 +78,14 @@ Batch Endpoint can only deploy registered models so we need to register it. You
78
78
79
79
2. Register the model:
80
80
81
-
# [Azure ML CLI](#tab/cli)
81
+
# [Azure CLI](#tab/cli)
82
82
83
83
```azurecli
84
84
MODEL_NAME='imagenet-classifier'
85
85
az ml model create --name $MODEL_NAME --type "custom_model" --path "imagenet-classifier/model"
86
86
```
87
87
88
-
# [Azure ML SDK for Python](#tab/sdk)
88
+
# [Python](#tab/sdk)
89
89
90
90
```python
91
91
model_name = 'imagenet-classifier'
@@ -163,11 +163,11 @@ One the scoring script is created, it's time to create a batch deployment for it
163
163
164
164
1. We need to indicate over which environment we are going to run the deployment. In our case, our model runs on `TensorFlow`. Azure Machine Learning already has an environment with the required software installed, so we can reutilize this environment. We are just going to add a couple of dependencies in a `conda.yml` file.
165
165
166
-
# [Azure ML CLI](#tab/cli)
166
+
# [Azure CLI](#tab/cli)
167
167
168
168
No extra step is required for the Azure ML CLI. The environment definition will be included in the deployment file.
169
169
170
-
# [Azure ML SDK for Python](#tab/sdk)
170
+
# [Python](#tab/sdk)
171
171
172
172
Let's get a reference to the environment:
173
173
@@ -183,7 +183,7 @@ One the scoring script is created, it's time to create a batch deployment for it
183
183
> [!NOTE]
184
184
> This example assumes you have an endpoint created with the name `imagenet-classifier-batch` and a compute cluster with name `cpu-cluster`. If you don't, please follow the steps in the doc [Use batch endpoints for batch scoring](how-to-use-batch-endpoint.md).
185
185
186
-
# [Azure ML CLI](#tab/cli)
186
+
# [Azure CLI](#tab/cli)
187
187
188
188
To create a new deployment under the created endpoint, create a `YAML` configuration like the following:
189
189
@@ -220,7 +220,7 @@ One the scoring script is created, it's time to create a batch deployment for it
220
220
az ml batch-deployment create -f deployment.yml
221
221
```
222
222
223
-
# [Azure ML SDK for Python](#tab/sdk)
223
+
# [Python](#tab/sdk)
224
224
225
225
To create a new deployment with the indicated environment and scoring script use the following code:
226
226
@@ -275,14 +275,14 @@ For testing our endpoint, we are going to use a sample of 1000 images from the o
0 commit comments