Skip to content

Commit fbc3f46

Browse files
authored
Update how-to-image-processing-batch.md
1 parent 55440e2 commit fbc3f46

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

articles/machine-learning/how-to-image-processing-batch.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ First, let's create the endpoint that will host the model:
5454

5555
# [Azure CLI](#tab/azure-cli)
5656

57+
Decide on the name of the endpoint:
58+
59+
```azurecli
60+
ENDPOINT_NAME="imagenet-classifier-batch"
61+
```
62+
5763
The following YAML file defines a batch endpoint:
5864

5965
__endpoint.yml__
@@ -66,6 +72,14 @@ Run the following code to create the endpoint.
6672

6773
# [Python](#tab/python)
6874

75+
Decide on the name of the endpoint:
76+
77+
```python
78+
endpoint_name="imagenet-classifier-batch"
79+
```
80+
81+
Configure the endpoint:
82+
6983
```python
7084
endpoint = BatchEndpoint(
7185
name=endpoint_name,
@@ -149,7 +163,7 @@ __code/score-by-file/batch_driver.py__
149163

150164
One the scoring script is created, it's time to create a batch deployment for it. Follow the following steps to create it:
151165

152-
1. Ensure you have a compute cluster created where we can create the deployment. In this example we are going to use a compute cluster named `gpu-cluster`. Althought is not required, we will GPUs to speed up the processing.
166+
1. Ensure you have a compute cluster created where we can create the deployment. In this example we are going to use a compute cluster named `gpu-cluster`. Although is not required, we use GPUs to speed up the processing.
153167

154168
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.
155169

0 commit comments

Comments
 (0)