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
Copy file name to clipboardExpand all lines: articles/ai-services/custom-vision-service/copy-move-projects.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.author: pafarley
14
14
15
15
After you've created and trained a Custom Vision project, you may want to copy your project to another resource. If your app or business depends on a Custom Vision project, we recommend you copy your model to another Custom Vision account in another region. Then if a regional outage occurs, you can access your project in the region where it was copied.
16
16
17
-
The **[ExportProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb3)** and **[ImportProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc7548b571998fddee3)** APIs enable this scenario by allowing you to copy projects from one Custom Vision account into others. This guide shows you how to use these REST APIs with cURL. You can also use an HTTP request service, like the [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) for Visual Studio Code, to issue the requests.
17
+
The **[ExportProject](/rest/api/customvision/training/projects/export?view=rest-customvision-training-v3.3&tabs=HTTP)** and **[ImportProject](/rest/api/customvision/training/projects/import?view=rest-customvision-training-v3.3&tabs=HTTP)** APIs enable this scenario by allowing you to copy projects from one Custom Vision account into others. This guide shows you how to use these REST APIs with cURL. You can also use an HTTP request service, like the [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) for Visual Studio Code, to issue the requests.
18
18
19
19
> [!TIP]
20
20
> For an example of this scenario using the Python client library, see the [Move Custom Vision Project](https://github.com/Azure-Samples/custom-vision-move-project/tree/master/) repository on GitHub.
@@ -39,7 +39,7 @@ The process for copying a project consists of the following steps:
39
39
40
40
## Get the project ID
41
41
42
-
First call **[GetProjects](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddead)** to see a list of your existing Custom Vision projects and their IDs. Use the training key and endpoint of your source account.
42
+
First call **[GetProjects](/rest/api/customvision/training/projects/get?view=rest-customvision-training-v3.3&tabs=HTTP)** to see a list of your existing Custom Vision projects and their IDs. Use the training key and endpoint of your source account.
43
43
44
44
```curl
45
45
curl -v -X GET "{endpoint}/customvision/v3.3/Training/projects"
@@ -77,7 +77,7 @@ You'll get a `200\OK` response with a list of projects and their metadata in the
77
77
78
78
## Export the project
79
79
80
-
Call **[ExportProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb3)** using the project ID and your source training key and endpoint.
80
+
Call **[ExportProject](/rest/api/customvision/training/projects/export?view=rest-customvision-training-v3.3&tabs=HTTP)** using the project ID and your source training key and endpoint.
81
81
82
82
```curl
83
83
curl -v -X GET "{endpoint}/customvision/v3.3/Training/projects/{projectId}/export"
@@ -102,7 +102,7 @@ You'll get a `200/OK` response with metadata about the exported project and a re
102
102
103
103
## Import the project
104
104
105
-
Call **[ImportProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc7548b571998fddee3)** using your target training key and endpoint, along with the reference token. You can also give your project a name in its new account.
105
+
Call **[ImportProject](/rest/api/customvision/training/projects/import?view=rest-customvision-training-v3.3&tabs=HTTP)** using your target training key and endpoint, along with the reference token. You can also give your project a name in its new account.
106
106
107
107
```curl
108
108
curl -v -G -X POST "{endpoint}/customvision/v3.3/Training/projects/import"
Copy file name to clipboardExpand all lines: articles/ai-services/custom-vision-service/faq.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ sections:
78
78
- question: |
79
79
Can training images be exported with the tags that were added in the Custom Vision portal?
80
80
answer: |
81
-
Yes, you can use the [GetImages API](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb4) to export with tags.
81
+
Yes, you can use the [GetImages API](/rest/api/customvision/training/images/list?view=rest-customvision-training-v3.3&tabs=HTTP) to export with tags.
* Optionally set other URL parameters to configure what type of model your project will use. See the [CreatProject API](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeae) for options.
45
+
* Optionally set other URL parameters to configure what type of model your project will use. See the [CreatProject API](/rest/api/customvision/training/projects/create?view=rest-customvision-training-v3.3&tabs=HTTP) for options.
46
46
47
47
You'll receive a JSON response like the following. Save the `"id"` value of your project to a temporary location.
48
48
@@ -99,7 +99,7 @@ You'll get a JSON response like the following. Save the `"id"` value of each tag
99
99
100
100
Next, download the sample images for this project. Save the contents of the [sample Images folder](https://github.com/Azure-Samples/cognitive-services-sample-data-files/tree/master/CustomVision/ImageClassification/Images) to your local device.
101
101
102
-
Use the following command to upload the images and apply tags; once for the "Hemlock" images, and separately for the "Japanese Cherry" images. See the [Create Images From Data](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb5) API for more options.
102
+
Use the following command to upload the images and apply tags; once for the "Hemlock" images, and separately for the "Japanese Cherry" images. See the [Create Images From Data](/rest/api/customvision/training/images/create-from-data?view=rest-customvision-training-v3.3&tabs=HTTP) API for more options.
@@ -118,7 +118,7 @@ This method trains the model on the tagged images you've uploaded and returns an
118
118
* Replace `{projectId}` with your own project ID.
119
119
* Replace `{tagArray}` with the ID of a tag.
120
120
* Then, populate the body of the request with the binary data of the images you want to tag.
121
-
* Optionally use other URL parameters. See the [Train Project](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc7548b571998fddee1) API for options.
121
+
* Optionally use other URL parameters. See the [Train Project](/rest/api/customvision/training/projects/train?view=rest-customvision-training-v3.3&tabs=HTTP) API for options.
122
122
123
123
> [!TIP]
124
124
> Train with selected tags
@@ -168,7 +168,7 @@ This method makes the current iteration of the model available for querying. You
168
168
* Replace `{iterationId}` with the ID returned in the previous step.
169
169
* Replace `{publishedName}` with the name you'd like to assign to your prediction model.
170
170
* Replace `{predictionId}` with your own prediction resource ID. You can find the prediction resource ID on the resource's **Properties** tab in the Azure portal, listed as **Resource ID**.
171
-
* Optionally use other URL parameters. See the [Publish Iteration](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc7548b571998fdded5) API.
171
+
* Optionally use other URL parameters. See the [Publish Iteration](/rest/api/customvision/training/iterations/publish?view=rest-customvision-training-v3.3&tabs=HTTP) API.
172
172
173
173
## Test the prediction endpoint
174
174
@@ -180,7 +180,7 @@ Finally, use this command to test your trained model by uploading a new image fo
180
180
* Replace `{projectId}` with your own project ID.
181
181
* Replace `{publishedName}` with the name you used in the previous step.
182
182
* Add the binary data of your local image to the request body.
183
-
* Optionally use other URL parameters. See the [Classify Image](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Prediction_3.1/operations/5eb37d24548b571998fde5f3) API.
183
+
* Optionally use other URL parameters. See the [Classify Image](/rest/api/customvision/prediction/image-classifier/classify-image?view=rest-customvision-prediction-v3.1&tabs=HTTP) API.
184
184
185
185
The returned JSON response will list each of the tags that the model applied to your image, along with probability scores for each tag.
186
186
@@ -218,4 +218,4 @@ Now you've done every step of the image classification process using the REST AP
Copy file name to clipboardExpand all lines: articles/ai-services/custom-vision-service/select-domain.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.author: pafarley
15
15
16
16
This guide shows you how to select a domain for your project in the Custom Vision Service.
17
17
18
-
From the **settings** tab of your project on the Custom Vision web portal, you can select a model domain for your project. You'll want to choose the domain that's closest to your use case scenario. If you're accessing Custom Vision through a client library or REST API, you'll need to specify a domain ID when creating the project. You can get a list of domain IDs with [Get Domains](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeab). Or, use the table below.
18
+
From the **settings** tab of your project on the Custom Vision web portal, you can select a model domain for your project. You'll want to choose the domain that's closest to your use case scenario. If you're accessing Custom Vision through a client library or REST API, you'll need to specify a domain ID when creating the project. You can get a list of domain IDs with [Get Domains](/rest/api/customvision/training/domains/list?view=rest-customvision-training-v3.3&tabs=HTTP). Or, use the table below.
Copy file name to clipboardExpand all lines: articles/ai-services/custom-vision-service/storage-integration.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Now that you have the integration URLs, you can create a new Custom Vision proje
61
61
62
62
#### [Create a new project](#tab/create)
63
63
64
-
When you call the [CreateProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeae) API, add the optional parameters _exportModelContainerUri_ and _notificationQueueUri_. Assign the URL values you got in the previous section.
64
+
When you call the [CreateProject](/rest/api/customvision/training/projects/create?view=rest-customvision-training-v3.3&tabs=HTTP) API, add the optional parameters _exportModelContainerUri_ and _notificationQueueUri_. Assign the URL values you got in the previous section.
65
65
66
66
```curl
67
67
curl -v -X POST "{endpoint}/customvision/v3.3/Training/projects?exportModelContainerUri={inputUri}¬ificationQueueUri={inputUri}&name={inputName}"
@@ -99,7 +99,7 @@ If you receive a `200/OK` response, that means the URLs have been set up success
99
99
100
100
#### [Update an existing project](#tab/update)
101
101
102
-
To update an existing project with Azure storage feature integration, call the [UpdateProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb1) API, using the ID of the project you want to update.
102
+
To update an existing project with Azure storage feature integration, call the [UpdateProject](/rest/api/customvision/training/projects/update?view=rest-customvision-training-v3.3&tabs=HTTP) API, using the ID of the project you want to update.
@@ -157,7 +157,7 @@ In your notification queue, you should see a test notification in the following
157
157
158
158
## Get event notifications
159
159
160
-
When you're ready, call the [TrainProject](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc7548b571998fddee1) API on your project to do an ordinary training operation.
160
+
When you're ready, call the [TrainProject](/rest/api/customvision/training/projects/train?view=rest-customvision-training-v3.3&tabs=HTTP) API on your project to do an ordinary training operation.
161
161
162
162
In your Storage notification queue, you'll receive a notification once training finishes:
163
163
@@ -178,7 +178,7 @@ The `"trainingStatus"` field may be either `"TrainingCompleted"` or `"TrainingFa
178
178
179
179
## Get model export backups
180
180
181
-
When you're ready, call the [ExportIteration](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddece) API to export a trained model into a specified platform.
181
+
When you're ready, call the [ExportIteration](/rest/api/customvision/training/iterations/export?view=rest-customvision-training-v3.3&tabs=HTTP) API to export a trained model into a specified platform.
182
182
183
183
In your designated storage container, a backup copy of the exported model will appear. The blob name will have the format:
184
184
@@ -207,5 +207,5 @@ The `"exportStatus"` field may be either `"ExportCompleted"` or `"ExportFailed"`
207
207
## Next steps
208
208
209
209
In this guide, you learned how to copy and back up a project between Custom Vision resources. Next, explore the API reference docs to see what else you can do with Custom Vision.
210
-
*[REST API reference documentation (training)](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb3)
211
-
*[REST API reference documentation (prediction)](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Prediction_3.1/operations/5eb37d24548b571998fde5f3)
210
+
*[REST API reference documentation (training)](/rest/api/customvision/training/operation-groups?view=rest-customvision-training-v3.3)
211
+
*[REST API reference documentation (prediction)](/rest/api/customvision/prediction/operation-groups?view=rest-customvision-prediction-v3.1)
Copy file name to clipboardExpand all lines: articles/ai-services/custom-vision-service/use-prediction-api.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.custom: devx-track-csharp
17
17
After you've trained your model, you can test it programmatically by submitting images to the prediction API endpoint. In this guide, you'll learn how to call the prediction API to score an image. You'll learn the different ways you can configure the behavior of this API to meet your needs.
18
18
19
19
> [!NOTE]
20
-
> This document demonstrates use of the .NET client library for C# to submit an image to the Prediction API. For more information and examples, see the [Prediction API reference](https://westus2.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Prediction_3.0/operations/5c82db60bf6a2b11a8247c15).
20
+
> This document demonstrates use of the .NET client library for C# to submit an image to the Prediction API. For more information and examples, see the [Prediction API reference](/rest/api/customvision/prediction/operation-groups?view=rest-customvision-prediction-v3.1).
0 commit comments