Skip to content

Commit 16ecdae

Browse files
authored
Apply suggestions from code review
Alt-text revisions.
1 parent 8803dce commit 16ecdae

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/cognitive-services/Custom-Vision-Service/getting-started-improving-your-classifier.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,29 @@ It's also important to consider the relative quantities of your training data. F
4444

4545
Be sure to use images that are representative of what will be submitted to the classifier during normal use. Otherwise, your model could learn to make predictions based on arbitrary characteristics that your images have in common. For example, if you're creating a classifier for apples vs. citrus, and you've used images of apples in hands and of citrus on white plates, the classifier may give undue importance to hands vs. plates, rather than apples vs. citrus.
4646

47-
![Image of fruits with unexpected matching.](./media/getting-started-improving-your-classifier/unexpected.png)
47+
![Photo of fruits with unexpected matching.](./media/getting-started-improving-your-classifier/unexpected.png)
4848

4949
To correct this problem, include a variety of images to ensure that your model can generalize well. Below are some ways you can make your training set more diverse:
5050

5151
* __Background:__ Provide images of your object in front of different backgrounds. Photos in natural contexts are better than photos in front of neutral backgrounds as they provide more information for the classifier.
5252

53-
![Image of background samples.](./media/getting-started-improving-your-classifier/background.png)
53+
![Photo of background samples.](./media/getting-started-improving-your-classifier/background.png)
5454

5555
* __Lighting:__ Provide images with varied lighting (that is, taken with flash, high exposure, and so on), especially if the images used for prediction have different lighting. It's also helpful to use images with varying saturation, hue, and brightness.
5656

57-
![Image of lighting samples.](./media/getting-started-improving-your-classifier/lighting.png)
57+
![Photo of lighting samples.](./media/getting-started-improving-your-classifier/lighting.png)
5858

5959
* __Object Size:__ Provide images in which the objects vary in size and number (for example, a photo of bunches of bananas and a closeup of a single banana). Different sizing helps the classifier generalize better.
6060

61-
![Image of size samples.](./media/getting-started-improving-your-classifier/size.png)
61+
![Photo of size samples.](./media/getting-started-improving-your-classifier/size.png)
6262

6363
* __Camera Angle:__ Provide images taken with different camera angles. Alternatively, if all of your photos must be taken with fixed cameras (such as surveillance cameras), be sure to assign a different label to every regularly occurring object to avoid overfitting—interpreting unrelated objects (such as lampposts) as the key feature.
6464

65-
![Image of angle samples.](./media/getting-started-improving-your-classifier/angle.png)
65+
![Photo of angle samples.](./media/getting-started-improving-your-classifier/angle.png)
6666

6767
* __Style:__ Provide images of different styles of the same class (for example, different varieties of the same fruit). However, if you have objects of drastically different styles (such as Mickey Mouse vs. a real-life mouse), we recommend you label them as separate classes to better represent their distinct features.
6868

69-
![Image of style samples.](./media/getting-started-improving-your-classifier/style.png)
69+
![Photo of style samples.](./media/getting-started-improving-your-classifier/style.png)
7070

7171
## Negative images (classifiers only)
7272

@@ -98,7 +98,7 @@ When you use or test the model by submitting images to the prediction endpoint,
9898

9999
To add an image to your existing training data, select the image, set the correct tag(s), and select __Save and close__. The image will be removed from __Predictions__ and added to the set of training images. You can view it by selecting the __Training Images__ tab.
100100

101-
![Image of the tagging page](./media/getting-started-improving-your-classifier/tag.png)
101+
![Screenshot of the tagging page](./media/getting-started-improving-your-classifier/tag.png)
102102

103103
3. Then use the __Train__ button to retrain the model.
104104

articles/cognitive-services/Custom-Vision-Service/test-your-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ After you train your Custom Vision model, you can quickly test it using a locall
2525

2626
1. In the **Quick Test** window, select in the **Submit Image** field and enter the URL of the image you want to use for your test. If you want to use a locally stored image instead, select the **Browse local files** button and select a local image file.
2727

28-
![Image of the submit image page](./media/test-your-model/submit-image.png)
28+
![Screenshot of the submit image page](./media/test-your-model/submit-image.png)
2929

3030
The image you select appears in the middle of the page. Then the prediction results appear below the image in the form of a table with two columns, labeled **Tags** and **Confidence**. After you view the results, you may close the **Quick Test** window.
3131

@@ -47,7 +47,7 @@ You can now take the image submitted previously for testing and use it to retrai
4747
4848
To add an image to your training data, select the image, manually select the tag(s), and then select __Save and close__. The image is removed from __Predictions__ and added to the training images. You can view it by selecting the __Training Images__ tab.
4949

50-
![Image of the tagging page](./media/test-your-model/tag-image.png)
50+
![Screenshot of the tagging page](./media/test-your-model/tag-image.png)
5151

5252
1. Use the __Train__ button to retrain the classifier.
5353

0 commit comments

Comments
 (0)