Skip to content

Commit 3b8408e

Browse files
Merge pull request #260106 from ginalee-dotcom/patch-4
Update shelf-model-customization.md
2 parents 44b2f64 + a83e15b commit 3b8408e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/ai-services/computer-vision/how-to/shelf-model-customization.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,14 @@ When your custom model is trained and ready (you've completed the steps in the [
4646
The API call will look like this:
4747

4848
```bash
49-
curl.exe -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -H "Content-Type: application/json" "https://<endpoint>/computervision/productrecognition/ms-pretrained-product-detection/models/<your_model_name>/runs/<your_run_name>?api-version=2023-04-01-preview" -d "{
49+
curl.exe -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -H "Content-Type: application/json" "https://<endpoint>/computervision/productrecognition/ms-pretrained-product-detection/runs/<your_run_name>?api-version=2023-04-01-preview" -d "{
5050
'url':'<your_url_string>'
5151
}"
5252
```
5353

5454
1. Make the following changes in the command where needed:
5555
1. Replace the `<subscriptionKey>` with your Vision resource key.
5656
1. Replace the `<endpoint>` with your Vision resource endpoint. For example: `https://YourResourceName.cognitiveservices.azure.com`.
57-
1. Replace the `<your_model_name>` with your unique custom model name. This will be the name of the customized model you have trained with your own data. For example, `.../models/mymodel1/runs/...`
5857
2. Replace the `<your_run_name>` with your unique test run name for the task queue. It is an async API task queue name for you to be able retrieve the API response later. For example, `.../runs/test1?api-version...`
5958
1. Replace the `<your_url_string>` contents with the blob URL of the image
6059
1. Open a command prompt window.

0 commit comments

Comments
 (0)