Skip to content

Commit

Permalink
Custom Vision Training v3.4-preview (Azure#11306)
Browse files Browse the repository at this point in the history
* Copy v3.3 as a base to diff off new version

* Update with v3.4-preview changes

* Update autorest configuration
  • Loading branch information
areddish authored Oct 23, 2020
1 parent 75b6eb0 commit 80f368e
Show file tree
Hide file tree
Showing 56 changed files with 7,492 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"parameters": {
"Endpoint": "https://westus.api.cognitive.microsoft.com",
"Content-Type": "application/json",
"Training-Key": "{API Key}",
"projectId": "bc3f7dad-5544-468c-8573-3ef04d55463e",
"batch": {
"regions": [
{
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"left": 0.25,
"top": 0.25,
"width": 0.25,
"height": 0.25
},
{
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"left": 0.35,
"top": 0.35,
"width": 0.25,
"height": 0.25
}
]
}
},
"responses": {
"200": {
"headers": {},
"body": {
"created": [
{
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"left": 0.25,
"top": 0.25,
"width": 0.25,
"height": 0.25
},
{
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"left": 0.35,
"top": 0.35,
"width": 0.25,
"height": 0.25
}
],
"duplicated": [],
"exceeded": []
}
},
"207": {
"headers": {},
"body": {
"created": [
{
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"left": 0.25,
"top": 0.25,
"width": 0.25,
"height": 0.25
}
],
"duplicated": [],
"exceeded": [
{
"imageId": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"left": 0.35,
"top": 0.35,
"width": 0.25,
"height": 0.25
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"Endpoint": "https://westus.api.cognitive.microsoft.com",
"Content-Type": "application/json",
"Training-Key": "{API Key}",
"projectId": "bc3f7dad-5544-468c-8573-3ef04d55463e",
"batch": {
"tags": [
{
"imageId": "e31a14ab-5d78-4f7b-a267-3a1e4fd8a758",
"tagId": "349d72ac-0948-4d51-b1e4-c14a1f9b848a"
}
]
}
},
"responses": {
"200": {
"headers": {},
"body": {
"created": [
{
"imageId": "e31a14ab-5d78-4f7b-a267-3a1e4fd8a758",
"tagId": "349d72ac-0948-4d51-b1e4-c14a1f9b848a"
}
],
"duplicated": null,
"exceeded": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"Endpoint": "https://westus.api.cognitive.microsoft.com",
"Content-Type": "application/json",
"Training-Key": "{API Key}",
"projectId": "64b822c5-8082-4b36-a426-27225f4aa18c",
"tagIds": [
"b607964f-7bd6-4a3b-a869-6791fb6aab87"
],
"imageData": "multipart data"
},
"responses": {
"200": {
"headers": {},
"body": {
"isBatchSuccessful": true,
"images": [
{
"sourceUrl": "\"hemlock_10.jpg\"",
"status": "OK",
"image": {
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"created": "2017-12-19T15:56:10Z",
"width": 1095,
"height": 900,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
},
{
"sourceUrl": "\"hemlock_6.jpg\"",
"status": "OK",
"image": {
"id": "f1855a92-b873-47e7-b513-f07a667ceda1",
"created": "2017-12-19T15:56:10Z",
"width": 900,
"height": 1531,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
}
]
}
},
"207": {
"headers": {},
"body": {
"isBatchSuccessful": false,
"images": [
{
"sourceUrl": "\"hemlock_10.jpg\"",
"status": "OK",
"image": {
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"created": "2017-12-19T15:56:10Z",
"width": 1095,
"height": 900,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
},
{
"sourceUrl": "\"hemlock_6.jpg\"",
"status": "ErrorLimitExceed"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"parameters": {
"Endpoint": "https://westus.api.cognitive.microsoft.com",
"Content-Type": "application/json",
"Training-Key": "{API Key}",
"projectId": "64b822c5-8082-4b36-a426-27225f4aa18c",
"tagIds": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"batch": {
"images": [
{
"name": "hemlock_10.jpg",
"contents": "{image contents}"
}
],
"tagIds": [
"b607964f-7bd6-4a3b-a869-6791fb6aab87"
]
}
},
"responses": {
"200": {
"headers": {},
"body": {
"isBatchSuccessful": true,
"images": [
{
"sourceUrl": "\"hemlock_10.jpg\"",
"status": "OK",
"image": {
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"created": "2017-12-19T15:56:10Z",
"width": 1095,
"height": 900,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
}
]
}
},
"207": {
"headers": {},
"body": {
"isBatchSuccessful": false,
"images": [
{
"sourceUrl": "\"hemlock_10.jpg\"",
"status": "OK",
"image": {
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"created": "2017-12-19T15:56:10Z",
"width": 1095,
"height": 900,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
},
{
"sourceUrl": "{url}",
"status": "ErrorLimitExceed"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"parameters": {
"Endpoint": "https://westus.api.cognitive.microsoft.com",
"Content-Type": "application/json",
"Training-Key": "{API Key}",
"projectId": "64b822c5-8082-4b36-a426-27225f4aa18c",
"tagIds": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"batch": {
"images": [
{
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9"
}
],
"tagIds": [
"b607964f-7bd6-4a3b-a869-6791fb6aab87"
]
}
},
"responses": {
"200": {
"headers": {},
"body": {
"isBatchSuccessful": true,
"images": [
{
"sourceUrl": "\"hemlock_10.jpg\"",
"status": "OK",
"image": {
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"created": "2017-12-19T15:56:10Z",
"width": 1095,
"height": 900,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
}
]
}
},
"207": {
"headers": {},
"body": {
"isBatchSuccessful": false,
"images": [
{
"sourceUrl": "\"hemlock_10.jpg\"",
"status": "OK",
"image": {
"id": "4d6eb844-42ee-42bc-bd6f-c32455ef07c9",
"created": "2017-12-19T15:56:10Z",
"width": 1095,
"height": 900,
"resizedImageUri": "{Resized Image Uri}",
"originalImageUri": "{Image Uri}",
"thumbnailUri": "{Thumbnail Uri}",
"tags": [
{
"tagId": "b607964f-7bd6-4a3b-a869-6791fb6aab87",
"created": "2017-12-19T15:56:09Z",
"tagName": "tag 1"
}
]
}
},
{
"sourceUrl": "{url}",
"status": "ErrorLimitExceed"
}
]
}
}
}
}
Loading

0 comments on commit 80f368e

Please sign in to comment.