Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d40e59a

Browse files
committedOct 21, 2021
images and license
1 parent b30c087 commit d40e59a

File tree

6 files changed

+13
-2
lines changed

6 files changed

+13
-2
lines changed
 
Loading
Loading

‎articles/machine-learning/reference-automl-images-schema.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ Example of a JSONL file for multi-class image classification:
5757
{"image_url": "AmlDatastore://image_data/Image_n.jpg", "image_details": {"format": "jpg", "width": "1024px", "height": "768px"}, "label": "water_bottle"}
5858
```
5959

60+
![Image example for image classification multi-class.](media/reference-automl-images-schema/multiclass-predictions.jpg)
61+
6062
### Image classification multi-label
6163

6264
The following is an example of input data format/schema in each JSON Line for image classification.
@@ -102,6 +104,8 @@ Example of a JSONL file for Image Classification Multi-label:
102104
{"image_url": "AmlDatastore://image_data/Image_n.jpg", "image_details": {"format": "jpg", "width": "1024px", "height": "768px"}, "label": ["carton","milk_bottle","water_bottle"]}
103105
```
104106

107+
![Image example for image classification multi-label.](media/reference-automl-images-schema/multilabel-predictions.jpg)
108+
105109
### Object detection
106110

107111
The following is an example JSONL file for object detection.
@@ -169,7 +173,9 @@ Example of a JSONL file for object detection:
169173
.
170174
.
171175
{"image_url": "AmlDatastore://image_data/Image_n.jpg", "image_details": {"format": "jpg", "width": "499px", "height": "666px"}, "label": [{"label": "carton", "topX": 0.0180, "topY": 0.297, "bottomX": 0.380, "bottomY": 0.836, "isCrowd": 0}, {"label": "milk_bottle", "topX": 0.454, "topY": 0.348, "bottomX": 0.613, "bottomY": 0.683, "isCrowd": 0}, {"label": "water_bottle", "topX": 0.667, "topY": 0.279, "bottomX": 0.841, "bottomY": 0.615, "isCrowd": 0}]}
172-
```
176+
```
177+
178+
![Image example for object detection.](media/reference-automl-images-schema/object-detect-predictions.jpg)
173179

174180
### Instance segmentation
175181

@@ -219,6 +225,8 @@ Example of a JSONL file for Instance Segmentation:
219225
{"image_url": "AmlDatastore://image_data/Image_n.jpg", "image_details": {"format": "jpg", "width": "499px", "height": "666px"}, "label": [{"label": "water_bottle", "isCrowd": 0, "polygon": [[0.334, 0.626, 0.304, 0.621, 0.254, 0.603, 0.164, 0.605, 0.158, 0.602, 0.146, 0.602, 0.142, 0.608, 0.094, 0.612, 0.084, 0.599, 0.080, 0.585, 0.080, 0.539, 0.082, 0.536, 0.092, 0.533, 0.126, 0.530, 0.132, 0.533, 0.144, 0.533, 0.162, 0.525, 0.172, 0.525, 0.186, 0.521, 0.196, 0.521 ]]}, {"label": "milk_bottle", "isCrowd": 0, "polygon": [[0.392, 0.773, 0.380, 0.732, 0.379, 0.767, 0.367, 0.755, 0.362, 0.735, 0.362, 0.714, 0.352, 0.644, 0.352, 0.611, 0.362, 0.597, 0.40, 0.593, 0.444, 0.494, 0.588, 0.515, 0.585, 0.621, 0.588, 0.671, 0.582, 0.713, 0.572, 0.753 ]]}]}
220226
```
221227

228+
![Image example for instance segmentation.](media/reference-automl-images-schema/instance-segmentation-predictions.jpg)
229+
222230
## Data format for inference
223231

224232
In this section, we document the input data format required to make predictions when using a deployed model. Any aforementioned image format is accepted with content type `application/octet-stream`.
@@ -385,6 +393,9 @@ In instance segmentation, output consists of multiple boxes with their scaled to
385393
}
386394
```
387395

396+
> [!NOTE]
397+
> The images used in this article are from the fridge objects dataset that is made available through the [MIT License](https://github.com/microsoft/computervision-recipes/blob/master/LICENSE).
398+
388399
## Next steps
389400

390401
Learn how to [Prepare data for training computer vision models with automated ML](how-to-prepare-datasets-for-automl-images.md).

‎articles/machine-learning/tutorial-auto-train-image-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,4 +492,4 @@ In this automated machine learning tutorial, you did the following tasks:
492492
* Review detailed code examples and use cases in the [GitHub notebook repository for automated machine learning samples](https://github.com/Azure/azureml-examples/tree/main/python-sdk/tutorials/automl-with-azureml). Please check the folders with 'image-' prefix for samples specific to building computer vision models.
493493

494494
> [!NOTE]
495-
> Use of the fridge objects dataset is available through the license under the MIT License.
495+
> Use of the fridge objects dataset is available through the license under the [MIT License](https://github.com/microsoft/computervision-recipes/blob/master/LICENSE).

0 commit comments

Comments
 (0)
Please sign in to comment.