Dela via


Get Iterations - Get Iterations

Hämta iterationer för projektet.

GET {Endpoint}/customvision/v3.4-preview/training/projects/{projectId}/iterations

URI-parametrar

Name I Obligatorisk Typ Description
Endpoint
path True

string

Cognitive Services-slutpunkter som stöds.

projectId
path True

string (uuid)

Projekt-ID:t.

Begärandehuvud

Name Obligatorisk Typ Description
Training-Key True

string

Svar

Name Typ Description
200 OK

Iteration[]

OK

Media Types: "application/json", "application/xml", "text/xml"

Other Status Codes

CustomVisionError

Felsvar

Media Types: "application/json", "application/xml", "text/xml"

Säkerhet

Training-Key

Typ: apiKey
I: header

Exempel

Successful GetIterations request

Exempelbegäran

GET https://westus.api.cognitive.microsoft.com/customvision/v3.4-preview/training/projects/64b822c5-8082-4b36-a426-27225f4aa18c/iterations

Exempelsvar

[
  {
    "id": "fe1e83c4-6f50-4899-9544-6bb08cf0e15a",
    "name": "Iteration 1",
    "status": "Completed",
    "created": "2017-12-18T22:40:29Z",
    "lastModified": "2017-12-18T22:40:41Z",
    "trainedAt": "2017-12-18T22:40:41Z",
    "projectId": "64b822c5-8082-4b36-a426-27225f4aa18c",
    "exportable": false,
    "domainId": "ee85a74c-405e-4adc-bb47-ffa8ca0c9f31",
    "exportableTo": [
      "ONNX",
      "DockerFile",
      "TensorFlow",
      "CoreML"
    ],
    "trainingType": "Regular",
    "reservedBudgetInHours": 0,
    "publishName": ""
  },
  {
    "id": "e31a14ab-5d78-4f7b-a267-3a1e4fd8a758",
    "name": "Iteration 2",
    "status": "Completed",
    "created": "2017-12-18T22:40:36Z",
    "lastModified": "2017-12-19T15:47:02Z",
    "trainedAt": "2017-12-19T15:47:02Z",
    "projectId": "64b822c5-8082-4b36-a426-27225f4aa18c",
    "exportable": false,
    "domainId": "ee85a74c-405e-4adc-bb47-ffa8ca0c9f31",
    "exportableTo": [
      "ONNX",
      "DockerFile",
      "TensorFlow",
      "CoreML"
    ],
    "trainingType": "Regular",
    "reservedBudgetInHours": 5,
    "publishName": "model1"
  },
  {
    "id": "3adaf7b2-18fc-4376-9da4-b5ea160a7cf5",
    "name": "Iteration 3",
    "status": "New",
    "created": "2017-12-19T15:46:59Z",
    "lastModified": "2017-12-19T15:46:59Z",
    "projectId": "64b822c5-8082-4b36-a426-27225f4aa18c",
    "exportable": false,
    "domainId": null,
    "exportableTo": [
      "ONNX",
      "DockerFile",
      "TensorFlow",
      "CoreML"
    ],
    "trainingType": "Regular",
    "reservedBudgetInHours": 0,
    "publishName": ""
  }
]

Definitioner

Name Description
Classifier

Hämtar projektets klassificeringstyp.

CustomBaseModelInfo
CustomVisionError
CustomVisionErrorCodes

Felkoden.

ExportableTo

En uppsättning plattformar som iterationen kan exportera till.

Iteration

Iterationsmodell som ska skickas via JSON.

TrainingType

Hämtar iterationens träningstyp.

Classifier

Hämtar projektets klassificeringstyp.

Värde Description
Multiclass
Multilabel

CustomBaseModelInfo

Name Typ Description
iterationId

string (uuid)

Iterations-ID för det tidigare tränade projektet som ska användas för den aktuella iterationens träning.

projectId

string (uuid)

Projekt-ID för det tidigare tränade projektet som ska användas för den aktuella iterationens utbildning.

CustomVisionError

Name Typ Description
code

CustomVisionErrorCodes

Felkoden.

message

string

Ett meddelande som förklarar felet som rapporterats av tjänsten.

CustomVisionErrorCodes

Felkoden.

Värde Description
BadRequest
BadRequestCannotMigrateProjectWithName
BadRequestClassificationTrainingValidationFailed
BadRequestCustomBaseModelArchitectureRetired
BadRequestCustomBaseModelDomainNotCompatible
BadRequestCustomBaseModelIterationStatusNotCompleted
BadRequestCustomerManagedKeyRevoked
BadRequestDetectionTrainingNotAllowNegativeTag
BadRequestDetectionTrainingValidationFailed
BadRequestDomainNotSupportedForAdvancedTraining
BadRequestExceedIterationPerProjectLimit
BadRequestExceedProjectLimit
BadRequestExceedTagPerImageLimit
BadRequestExceedTagPerProjectLimit
BadRequestExceededBatchSize
BadRequestExceededQuota
BadRequestExportAlreadyInProgress
BadRequestExportPlatformNotSupportedForAdvancedTraining
BadRequestExportValidationFailed
BadRequestExportWhileTraining
BadRequestImageAspectRatio
BadRequestImageBatch
BadRequestImageDimensions
BadRequestImageExceededCount
BadRequestImageFormat
BadRequestImageMetadataKey
BadRequestImageMetadataValue
BadRequestImageRegions
BadRequestImageSizeBytes
BadRequestImageStream
BadRequestImageTags
BadRequestImageUrl
BadRequestInvalid
BadRequestInvalidArtifactUri
BadRequestInvalidEmailAddress
BadRequestInvalidIds
BadRequestInvalidImportToken
BadRequestInvalidPublishName
BadRequestInvalidPublishTarget
BadRequestInvalidUri
BadRequestIterationDescription
BadRequestIterationIsNotTrained
BadRequestIterationIsPublished
BadRequestIterationName
BadRequestIterationNameNotUnique
BadRequestIterationNotPublished
BadRequestIterationValidationFailed
BadRequestMultiClassClassificationTrainingValidationFailed
BadRequestMultiLabelClassificationTrainingValidationFailed
BadRequestMultipleGeneralProductTag
BadRequestMultipleNegativeTag
BadRequestNegativeAndRegularTagOnSameImage
BadRequestNotLimitedTrial
BadRequestNotSupported
BadRequestOperationNotSupported
BadRequestPredictionIdsExceededCount
BadRequestPredictionIdsMissing
BadRequestPredictionInvalidApplicationName
BadRequestPredictionInvalidQueryParameters
BadRequestPredictionResultsExceededCount
BadRequestPredictionTagsExceededCount
BadRequestProjectDescription
BadRequestProjectDuplicated
BadRequestProjectImagePreprocessingSettings
BadRequestProjectName
BadRequestProjectNameNotUnique
BadRequestProjectUnknownClassification
BadRequestProjectUnknownDomain
BadRequestProjectUnsupportedDomainTypeChange
BadRequestProjectUnsupportedExportPlatform
BadRequestRequiredParamIsNull
BadRequestReservedBudgetInHoursNotEnoughForAdvancedTraining
BadRequestRetiredDomainNotSupportedForTraining
BadRequestSubscriptionApi
BadRequestTagDescription
BadRequestTagName
BadRequestTagNameNotUnique
BadRequestTagType
BadRequestTrainingAlreadyInProgress
BadRequestTrainingNotNeeded
BadRequestTrainingNotNeededButTrainingPipelineUpdated
BadRequestTrainingValidationFailed
BadRequestUnpublishFailed
BadRequestUnsupportedDomain
BadRequestWorkspaceCannotBeModified
BadRequestWorkspaceNotDeletable
Conflict
ConflictInvalid
ErrorExporterInvalidClassifier
ErrorExporterInvalidFeaturizer
ErrorExporterInvalidPlatform
ErrorFeaturizationAugmentationError
ErrorFeaturizationAugmentationUnavailable
ErrorFeaturizationInvalidFeaturizer
ErrorFeaturizationQueueTimeout
ErrorFeaturizationServiceUnavailable
ErrorFeaturizationUnrecognizedJob
ErrorInvalid
ErrorIterationCopyFailed
ErrorPrediction
ErrorPredictionModelNotCached
ErrorPredictionModelNotFound
ErrorPredictionServiceUnavailable
ErrorPredictionStorage
ErrorPreparePerformanceMigrationFailed
ErrorProjectExportRequestFailed
ErrorProjectImportRequestFailed
ErrorProjectInvalidDomain
ErrorProjectInvalidPipelineConfiguration
ErrorProjectInvalidWorkspace
ErrorProjectTrainingRequestFailed
ErrorRegionProposal
ErrorServerTimeOut
ErrorUnknown
ErrorUnknownBaseModel
Forbidden
ForbiddenDRModeEnabled
ForbiddenInvalid
ForbiddenUser
ForbiddenUserDisabled
ForbiddenUserDoesNotExist
ForbiddenUserInsufficientCapability
ForbiddenUserResource
ForbiddenUserSignupAllowanceExceeded
ForbiddenUserSignupDisabled
NoError
NotFound
NotFoundApimSubscription
NotFoundDomain
NotFoundImage
NotFoundInvalid
NotFoundIteration
NotFoundIterationPerformance
NotFoundProject
NotFoundProjectDefaultIteration
NotFoundTag
UnsupportedMediaType

ExportableTo

En uppsättning plattformar som iterationen kan exportera till.

Värde Description
CoreML
DockerFile
ONNX
OpenVino
TensorFlow
VAIDK

Iteration

Iterationsmodell som ska skickas via JSON.

Name Typ Description
classificationType

Classifier

Hämtar projektets klassificeringstyp.

created

string (date-time)

Hämtar den tid då iterationen slutfördes.

customBaseModelInfo

CustomBaseModelInfo

Information om den tidigare tränade iterationen som tillhandahåller basmodellen för den aktuella iterationens träning. Standardvärdet null anger att ingen tidigare tränad iteration kommer att användas för inkrementell inlärning.

domainId

string (uuid)

Hämta eller anger ett guid för domänen som iterationen har tränats på.

exportable

boolean

Om iterationen kan exporteras till ett annat format för nedladdning.

exportableTo

ExportableTo[]

En uppsättning plattformar som iterationen kan exportera till.

id

string (uuid)

Hämtar iterationens ID.

lastModified

string (date-time)

Hämtar den tid då iterationen senast ändrades.

name

string

Hämtar eller anger namnet på iterationen.

originalPublishResourceId

string

Resursprovider-ID som den här iterationen ursprungligen publicerades till.

projectId

string (uuid)

Hämtar iterationens projekt-ID.

publishName

string

Namnet på den publicerade modellen.

reservedBudgetInHours

integer (int32)

Hämtar den reserverade budgeten för avancerad utbildning för iterationen.

status

string

Hämtar aktuell iterationsstatus.

trainedAt

string (date-time)

Hämtar den tid då iterationen senast ändrades.

trainingErrorDetails

string

Information om träningsfel när träningen misslyckas. Värdet är null när träningen lyckas.

trainingTimeInMinutes

integer (int32)

Hämtar träningstiden för iterationen.

trainingType

TrainingType

Hämtar iterationens träningstyp.

TrainingType

Hämtar iterationens träningstyp.

Värde Description
Advanced
Regular