Skip to content

Commit 9db401f

Browse files
Fix paths for includes.
1 parent 6097185 commit 9db401f

File tree

10 files changed

+59
-59
lines changed

10 files changed

+59
-59
lines changed

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts-sdk/csharp-tutorial-od.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This article shows you how to get started using the Custom Vision SDK with C# to
1010
## Prerequisites
1111

1212
- Any edition of [Visual Studio 2015 or 2017](https://www.visualstudio.com/downloads/)
13-
- [!INCLUDE [create-resources](includes/create-resources.md)]
13+
- [!INCLUDE [create-resources](../../includes/create-resources.md)]
1414

1515
## Get the Custom Vision SDK and sample code
1616

@@ -23,7 +23,7 @@ Clone or download the [Cognitive Services .NET Samples](https://github.com/Azure
2323

2424
This Visual Studio project creates a new Custom Vision project named __My New Project__, which can be accessed through the [Custom Vision website](https://customvision.ai/). It then uploads images to train and test an object detection model. In this project, the model is trained to detect forks and scissors in images.
2525

26-
[!INCLUDE [get-keys](includes/get-keys.md)]
26+
[!INCLUDE [get-keys](../../includes/get-keys.md)]
2727

2828
## Understand the code
2929

@@ -37,7 +37,7 @@ Also, get your Endpoint URL from the Settings page of the Custom Vision website.
3737

3838
### Create a new Custom Vision Service project
3939

40-
This next bit of code creates an object detection project. The created project will show up on the [Custom Vision website](https://customvision.ai/) that you visited earlier. See the [CreateProject](https://docs.microsoft.com/dotnet/api/microsoft.azure.cognitiveservices.vision.customvision.training.customvisiontrainingclientextensions.createproject?view=azure-dotnet#Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_CustomVisionTrainingClientExtensions_CreateProject_Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_ICustomVisionTrainingClient_System_String_System_String_System_Nullable_System_Guid__System_String_System_Collections_Generic_IList_System_String__) method to specify other options when you create your project (explained in the [Build a detector](get-started-build-detector.md) web portal guide).
40+
This next bit of code creates an object detection project. The created project will show up on the [Custom Vision website](https://customvision.ai/) that you visited earlier. See the [CreateProject](https://docs.microsoft.com/dotnet/api/microsoft.azure.cognitiveservices.vision.customvision.training.customvisiontrainingclientextensions.createproject?view=azure-dotnet#Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_CustomVisionTrainingClientExtensions_CreateProject_Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_ICustomVisionTrainingClient_System_String_System_String_System_Nullable_System_Guid__System_String_System_Collections_Generic_IList_System_String__) method to specify other options when you create your project (explained in the [Build a detector](../../get-started-build-detector.md) web portal guide).
4141

4242
[!code-csharp[](~/cognitive-services-dotnet-sdk-samples/CustomVision/ObjectDetection/Program.cs?name=snippet_create)]
4343

@@ -99,11 +99,11 @@ Making a prediction:
9999

100100
You can then verify that the test image (found in **Images/Test/**) is tagged appropriately and that the region of detection is correct. At this point, you can press any key to exit the application.
101101

102-
[!INCLUDE [clean-od-project](includes/clean-od-project.md)]
102+
[!INCLUDE [clean-od-project](../../includes/clean-od-project.md)]
103103

104104
## Next steps
105105

106106
Now you've seen how to do every step of the object detection process in code. This sample executes a single training iteration, but often you'll need to train and test your model multiple times in order to make it more accurate. The following guide deals with image classification, but its principles are similar to object detection.
107107

108108
> [!div class="nextstepaction"]
109-
> [Test and retrain a model](test-your-model.md)
109+
> [Test and retrain a model](../../test-your-model.md)

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts-sdk/csharp-tutorial.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ ms.service: cognitive-services
55
ms.date: 04/14/2020
66
---
77

8-
This article provides information and sample code to help you get started using the Custom Vision SDK with C# to build an image classification model. After it's created, you can add tags, upload images, train the project, obtain the project's default prediction endpoint URL, and use the endpoint to programmatically test an image. Use this example as a template for building your own .NET application. If you want to go through the process of building and using a classification model _without_ code, see the [browser-based guidance](getting-started-build-a-classifier.md) instead.
8+
This article provides information and sample code to help you get started using the Custom Vision SDK with C# to build an image classification model. After it's created, you can add tags, upload images, train the project, obtain the project's default prediction endpoint URL, and use the endpoint to programmatically test an image. Use this example as a template for building your own .NET application. If you want to go through the process of building and using a classification model _without_ code, see the [browser-based guidance](../../getting-started-build-a-classifier.md) instead.
99

1010
## Prerequisites
1111

1212
- Any edition of [Visual Studio 2015 or 2017](https://www.visualstudio.com/downloads/)
13-
- [!INCLUDE [create-resources](includes/create-resources.md)]
13+
- [!INCLUDE [create-resources](../../includes/create-resources.md)]
1414

1515
## Get the Custom Vision SDK and sample code
1616

@@ -23,7 +23,7 @@ Clone or download the [Cognitive Services .NET Samples](https://github.com/Azure
2323

2424
This Visual Studio project creates a new Custom Vision project named __My New Project__, which can be accessed through the [Custom Vision website](https://customvision.ai/). It then uploads images to train and test a classifier. In this project, the classifier is intended to determine whether a tree is a __Hemlock__ or a __Japanese Cherry__.
2525

26-
[!INCLUDE [get-keys](includes/get-keys.md)]
26+
[!INCLUDE [get-keys](../../includes/get-keys.md)]
2727

2828
## Understand the code
2929

@@ -39,7 +39,7 @@ The following lines of code execute the primary functionality of the project.
3939

4040
### Create a new Custom Vision service project
4141

42-
The created project will show up on the [Custom Vision website](https://customvision.ai/) that you visited earlier. See the [CreateProject](https://docs.microsoft.com/dotnet/api/microsoft.azure.cognitiveservices.vision.customvision.training.customvisiontrainingclientextensions.createproject?view=azure-dotnet#Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_CustomVisionTrainingClientExtensions_CreateProject_Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_ICustomVisionTrainingClient_System_String_System_String_System_Nullable_System_Guid__System_String_System_Collections_Generic_IList_System_String__) method to specify other options when you create your project (explained in the [Build a classifier](getting-started-build-a-classifier.md) web portal guide).
42+
The created project will show up on the [Custom Vision website](https://customvision.ai/) that you visited earlier. See the [CreateProject](https://docs.microsoft.com/dotnet/api/microsoft.azure.cognitiveservices.vision.customvision.training.customvisiontrainingclientextensions.createproject?view=azure-dotnet#Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_CustomVisionTrainingClientExtensions_CreateProject_Microsoft_Azure_CognitiveServices_Vision_CustomVision_Training_ICustomVisionTrainingClient_System_String_System_String_System_Nullable_System_Guid__System_String_System_Collections_Generic_IList_System_String__) method to specify other options when you create your project (explained in the [Build a classifier](../../getting-started-build-a-classifier.md) web portal guide).
4343

4444
[!code-csharp[](~/cognitive-services-dotnet-sdk-samples/CustomVision/ImageClassification/Program.cs?name=snippet_create)]
4545

@@ -88,11 +88,11 @@ Making a prediction:
8888

8989
You can then verify that the test image (found in **Images/Test/**) is tagged appropriately. Press any key to exit the application. You can also go back to the [Custom Vision website](https://customvision.ai) and see the current state of your newly created project.
9090

91-
[!INCLUDE [clean-ic-project](includes/clean-ic-project.md)]
91+
[!INCLUDE [clean-ic-project](../../includes/clean-ic-project.md)]
9292

9393
## Next steps
9494

9595
Now you've seen how to do every step of the image classification process in code. This sample executes a single training iteration, but often you will need to train and test your model multiple times in order to make it more accurate.
9696

9797
> [!div class="nextstepaction"]
98-
> [Test and retrain a model](test-your-model.md)
98+
> [Test and retrain a model](../../test-your-model.md)

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts-sdk/go-tutorial-object-detection.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This article provides information and sample code to help you get started using
1010
## Prerequisites
1111

1212
- [Go 1.8+](https://golang.org/doc/install)
13-
- [!INCLUDE [create-resources](includes/create-resources.md)]
13+
- [!INCLUDE [create-resources](../../includes/create-resources.md)]
1414

1515
## Install the Custom Vision SDK
1616

@@ -25,9 +25,9 @@ or if you use `dep`, within your repo run:
2525
dep ensure -add github.com/Azure/azure-sdk-for-go
2626
```
2727

28-
[!INCLUDE [get-keys](includes/get-keys.md)]
28+
[!INCLUDE [get-keys](../../includes/get-keys.md)]
2929

30-
[!INCLUDE [python-get-images](includes/python-get-images.md)]
30+
[!INCLUDE [python-get-images](../../includes/python-get-images.md)]
3131

3232
## Add the code
3333

@@ -37,7 +37,7 @@ Create a new file called *sample.go* in your preferred project directory.
3737

3838
Add the following code to your script to create a new Custom Vision service project. Insert your subscription keys in the appropriate definitions. Also, get your Endpoint URL from the Settings page of the Custom Vision website.
3939

40-
See the [CreateProject](https://docs.microsoft.com/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.training.trainings.createproject?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_training_Trainings_createProject_String_CreateProjectOptionalParameter_) method to specify other options when you create your project (explained in the [Build a detector](get-started-build-detector.md) web portal guide).
40+
See the [CreateProject](https://docs.microsoft.com/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.training.trainings.createproject?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_training_Trainings_createProject_String_CreateProjectOptionalParameter_) method to specify other options when you create your project (explained in the [Build a detector](../../get-started-build-detector.md) web portal guide).
4141

4242
```go
4343
import(
@@ -267,11 +267,11 @@ go run sample.go
267267

268268
The output of the application should appear in the console. You can then verify that the test image (found in **samples/vision/images/Test**) is tagged appropriately and that the region of detection is correct.
269269

270-
[!INCLUDE [clean-od-project](includes/clean-od-project.md)]
270+
[!INCLUDE [clean-od-project](../../includes/clean-od-project.md)]
271271

272272
## Next steps
273273

274274
Now you've seen how every step of the object detection process can be done in code. This sample executes a single training iteration, but often you'll need to train and test your model multiple times in order to make it more accurate. The following training guide deals with image classification, but its principles are similar to object detection.
275275

276276
> [!div class="nextstepaction"]
277-
> [Test and retrain a model](test-your-model.md)
277+
> [Test and retrain a model](../../test-your-model.md)

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts-sdk/go-tutorial.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ ms.service: cognitive-services
55
ms.date: 04/14/2020
66
---
77

8-
This article provides information and sample code to help you get started using the Custom Vision SDK with Go to build an image classification model. After it's created, you can add tags, upload images, train the project, obtain the project's published prediction endpoint URL, and use the endpoint to programmatically test an image. Use this example as a template for building your own Go application. If you wish to go through the process of building and using a classification model _without_ code, see the [browser-based guidance](getting-started-build-a-classifier.md) instead.
8+
This article provides information and sample code to help you get started using the Custom Vision SDK with Go to build an image classification model. After it's created, you can add tags, upload images, train the project, obtain the project's published prediction endpoint URL, and use the endpoint to programmatically test an image. Use this example as a template for building your own Go application. If you wish to go through the process of building and using a classification model _without_ code, see the [browser-based guidance](../../getting-started-build-a-classifier.md) instead.
99

1010
## Prerequisites
1111

1212
- [Go 1.8+](https://golang.org/doc/install)
13-
- [!INCLUDE [create-resources](includes/create-resources.md)]
13+
- [!INCLUDE [create-resources](../../includes/create-resources.md)]
1414

1515
## Install the Custom Vision SDK
1616

@@ -25,9 +25,9 @@ or if you use `dep`, within your repo run:
2525
dep ensure -add github.com/Azure/azure-sdk-for-go
2626
```
2727

28-
[!INCLUDE [get-keys](includes/get-keys.md)]
28+
[!INCLUDE [get-keys](../../includes/get-keys.md)]
2929

30-
[!INCLUDE [python-get-images](includes/python-get-images.md)]
30+
[!INCLUDE [python-get-images](../../includes/python-get-images.md)]
3131

3232
## Add the code
3333

@@ -37,7 +37,7 @@ Create a new file called *sample.go* in your preferred project directory.
3737

3838
Add the following code to your script to create a new Custom Vision service project. Insert your subscription keys in the appropriate definitions. Also, get your Endpoint URL from the Settings page of the Custom Vision website.
3939

40-
See the [CreateProject](https://docs.microsoft.com/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.training.trainings.createproject?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_training_Trainings_createProject_String_CreateProjectOptionalParameter_) method to specify other options when you create your project (explained in the [Build a classifier](getting-started-build-a-classifier.md) web portal guide).
40+
See the [CreateProject](https://docs.microsoft.com/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.training.trainings.createproject?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_training_Trainings_createProject_String_CreateProjectOptionalParameter_) method to specify other options when you create your project (explained in the [Build a classifier](../../getting-started-build-a-classifier.md) web portal guide).
4141

4242
```go
4343
import(
@@ -181,11 +181,11 @@ Done!
181181

182182
You can then verify that the test image (found in **<base_image_url>/Images/Test/**) is tagged appropriately. You can also go back to the [Custom Vision website](https://customvision.ai) and see the current state of your newly created project.
183183

184-
[!INCLUDE [clean-ic-project](includes/clean-ic-project.md)]
184+
[!INCLUDE [clean-ic-project](../../includes/clean-ic-project.md)]
185185

186186
## Next steps
187187

188188
Now you've seen how every step of the object detection process can be done in code. This sample executes a single training iteration, but often you'll need to train and test your model multiple times in order to make it more accurate.
189189

190190
> [!div class="nextstepaction"]
191-
> [Test and retrain a model](test-your-model.md)
191+
> [Test and retrain a model](../../test-your-model.md)

articles/cognitive-services/Custom-Vision-Service/includes/quickstarts-sdk/java-tutorial-od.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This article shows you how to get started using the Custom Vision SDK with Java
1212
- A Java IDE of your choice
1313
- [JDK 7 or 8](https://aka.ms/azure-jdks) installed.
1414
- [Maven](https://maven.apache.org/) installed
15-
- [!INCLUDE [create-resources](includes/create-resources.md)]
15+
- [!INCLUDE [create-resources](../../includes/create-resources.md)]
1616

1717
## Get the Custom Vision SDK and sample code
1818

@@ -26,7 +26,7 @@ Clone or download the [Cognitive Services Java SDK Samples](https://github.com/A
2626

2727
This Java project creates a new Custom Vision object detection project named __Sample Java OD Project__, which can be accessed through the [Custom Vision website](https://customvision.ai/). It then uploads images to train and test a classifier. In this project, the classifier is intended to determine whether an object is a **fork** or **scissors**.
2828

29-
[!INCLUDE [get-keys](includes/get-keys.md)]
29+
[!INCLUDE [get-keys](../../includes/get-keys.md)]
3030

3131
The program is configured to reference your key data as environment variables. Navigate to the **Vision/CustomVision** folder and enter the following PowerShell commands to set the environment variables.
3232

@@ -44,7 +44,7 @@ Load the `Vision/CustomVision` project in your Java IDE and open the _CustomVisi
4444

4545
### Create a new Custom Vision Service project
4646

47-
Go to the code block that creates a training client and an object detection project. The created project will show up on the [Custom Vision website](https://customvision.ai/) that you visited earlier. See the [CreateProject](https://docs.microsoft.com/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.training.trainings.createproject?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_training_Trainings_createProject_String_CreateProjectOptionalParameter_) method overloads to specify other options when you create your project (explained in the [Build a detector](get-started-build-detector.md) web portal guide).
47+
Go to the code block that creates a training client and an object detection project. The created project will show up on the [Custom Vision website](https://customvision.ai/) that you visited earlier. See the [CreateProject](https://docs.microsoft.com/java/api/com.microsoft.azure.cognitiveservices.vision.customvision.training.trainings.createproject?view=azure-java-stable#com_microsoft_azure_cognitiveservices_vision_customvision_training_Trainings_createProject_String_CreateProjectOptionalParameter_) method overloads to specify other options when you create your project (explained in the [Build a detector](../../get-started-build-detector.md) web portal guide).
4848

4949
[!code-java[](~/cognitive-services-java-sdk-samples/Vision/CustomVision/src/main/java/com/microsoft/azure/cognitiveservices/vision/customvision/samples/CustomVisionSamples.java?name=snippet_create_od)]
5050

@@ -91,11 +91,11 @@ mvn compile exec:java
9191

9292
View the console output for logging and prediction results. You can then verify that the test image is tagged appropriately and that the region of detection is correct.
9393

94-
[!INCLUDE [clean-od-project](includes/clean-od-project.md)]
94+
[!INCLUDE [clean-od-project](../../includes/clean-od-project.md)]
9595

9696
## Next steps
9797

9898
Now you've seen how every step of the object detection process can be done in code. This sample executes a single training iteration, but often you'll need to train and test your model multiple times in order to make it more accurate. The following training guide deals with image classification, but its principles are similar to object detection.
9999

100100
> [!div class="nextstepaction"]
101-
> [Test and retrain a model](test-your-model.md)
101+
> [Test and retrain a model](../../test-your-model.md)

0 commit comments

Comments
 (0)