Skip to content

Commit 63ba5d2

Browse files
committed
acrolinx edits
1 parent 9b3eee5 commit 63ba5d2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/cognitive-services/Computer-vision/how-to/model-customization.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pip install cognitive-service-vision-model-customization-python-samples
4949

5050
## Authentication
5151

52-
Enter your Computer Vision endpoint URL and key, as well as the name of the resource, in the code below.
52+
Enter your Computer Vision endpoint URL, key, and the name of the resource, into the code below.
5353

5454
```python
5555
# Resource and key
@@ -243,7 +243,7 @@ logging.info(f'Prediction: {prediction}')
243243

244244
## Create a new custom model
245245

246-
Begin by going to [Vision Studio](https://portal.vision.cognitive.azure.com/) and selecting the **Image analysis** tab. Then select either the **Extract common tags from images** tile for image classification or the **Extract common objects in images** tile for object detection. This guide will demonstrate a custom image classification model.
246+
Begin by going to [Vision Studio](https://portal.vision.cognitive.azure.com/) and selecting the **Image analysis** tab. Then select either the **Extract common tags from images** tile for image classification or the **Extract common objects in images** tile for object detection. This guide demonstrates a custom image classification model.
247247

248248
> [!IMPORTANT]
249249
> To train a custom model in Vision Studio, your Azure subscription needs to be approved for access. Please request access using [this form](https://aka.ms/visionaipublicpreview).
@@ -272,7 +272,7 @@ Then, select the container from the Azure Blob Storage account where you stored
272272

273273
You need a COCO file to convey the labeling information. An easy way to generate a COCO file is to create an Azure Machine Learning project, which comes with a data-labeling workflow.
274274

275-
In the dataset details page, select **Add a new Data Labeling project**. Name it and select **Create a new workspace**. That will open a new Azure portal tab where you can create the Azure Machine Learning project.
275+
In the dataset details page, select **Add a new Data Labeling project**. Name it and select **Create a new workspace**. That opens a new Azure portal tab where you can create the Azure Machine Learning project.
276276

277277
![Choose Azure Machine Learning]( ../media/customization/dataset-details.png)
278278

@@ -295,7 +295,7 @@ Once you've added all the class labels, save them, select **start** on the proje
295295

296296
Choose **Start labeling** and follow the prompts to label all of your images. When you're finished, return to the Vision Studio tab in your browser.
297297

298-
Now select **Add COCO file**, then select **Import COCO file from an Azure ML Data Labeling project**. This will import the labeled data from Azure Machine Learning.
298+
Now select **Add COCO file**, then select **Import COCO file from an Azure ML Data Labeling project**. This imports the labeled data from Azure Machine Learning.
299299

300300
The COCO file you just created is now stored in the Azure Storage container that you linked to this project. You can now import it into the model customization workflow. Select it from the drop-down list. Once the COCO file is imported into the dataset, the dataset can be used for training a model.
301301

@@ -322,7 +322,7 @@ Then select a time budget and train the model. For small examples, you can use a
322322

323323
![Review training details]( ../media/customization/train-model.png)
324324

325-
It may take some time for the training to complete. Image Analysis 4.0 models can be very accurate with only a small set of training data, but they take longer to train than previous models.
325+
It may take some time for the training to complete. Image Analysis 4.0 models can be accurate with only a small set of training data, but they take longer to train than previous models.
326326

327327
## Evaluate the trained model
328328

@@ -331,7 +331,7 @@ After training has completed, you can view the model's performance evaluation. T
331331
- Image classification: Average Precision, Accuracy Top 1, Accuracy Top 5
332332
- Object detection: Mean Average Precision @ 30, Mean Average Precision @ 50, Mean Average Precision @ 75
333333

334-
If an evaluation set is not provided when training the model, the reported performance is estimated based on part of the training set. We strongly recommend you use an evaluation dataset (using the same process as above) to have a reliable estimation of your model performance.
334+
If an evaluation set isn't provided when training the model, the reported performance is estimated based on part of the training set. We strongly recommend you use an evaluation dataset (using the same process as above) to have a reliable estimation of your model performance.
335335

336336
![Screenshot of evaluation]( ../media/customization/training-result.png)
337337

@@ -341,7 +341,7 @@ Once you've built a custom model, you can go back to the **Extract common tags f
341341

342342
![Screenshot of selecing test model in Vision Studio.]( ../media/customization/quick-test.png)
343343

344-
The prediction results will appear in the right column.
344+
The prediction results appear in the right column.
345345

346346
#### [REST API](#tab/rest)
347347

0 commit comments

Comments
 (0)