Create Training Job
Creates a training job which begins the process of creating a new model from a given dataset.
Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
Body
The task type, which can be either classification
or segmentation
.
classification
, segmentation
The ID of an uploaded file that contains training data.
See upload file for how to upload a file.
The ID of an uploaded file that contains validation data.
If you provide this file, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in the fine-tuning results file. The same data should not be present in both train and validation files.
The hyperparameters used for the training job.
Response
The task type, which can be either classification
or segmentation
.
classification
, segmentation
The ID of an uploaded file that contains training data.
See upload file for how to upload a file.
The ID of an uploaded file that contains validation data.
If you provide this file, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in the fine-tuning results file. The same data should not be present in both train and validation files.
The hyperparameters used for the training job.
The object identifier, which can be referenced in the API endpoints.
The Unix timestamp (in seconds) for when the training job was created.
The current status of the training job, which can be either
initializing
, downloading_files
, validating_files
, queued
, running
, succeeded
, failed
, or cancelled
.
initializing
, downloading_files
, validating_files
, queued
, running
, succeeded
, failed
, cancelled
For training jobs that have failed
, this will contain more information on
the cause of the failure.
The name of the trained model that is being created.
The value will be null if the training job is still running.
The Unix timestamp (in seconds) for when the training job was finished.
The value will be null if the training job is still running.