- 23 Jan 2025
- 2 Minutes to read
- Print
- DarkLight
- PDF
Create model training
- Updated on 23 Jan 2025
- 2 Minutes to read
- Print
- DarkLight
- PDF
Model Training offers a comprehensive and easy-to-use solution for training a model using labeled data.
This article lists the steps to create a model training project and start a model training session. A project can hold multiple training sessions for experiments with different dataset versions and model parameters.
Refer to the following video to start a model training session.
In the left navigation panel, navigate to Model Copilot > Training Projects.
Click the Add Project button.
In the Add Project window:
Enter Name and Description for the project.
Select the type of model, and click Submit.
Currently, Classification and Object Detection types of models are supported. For illustration purpose, Object Detection type is selected here. Click Submit.The project is now created. You will now need to create the training session within the project.
Enter Name and Description for the training session, and click Continue.
Add images to be used for the model training. The images are added by running a catalog query.
In the training session screen, click the Add Data button on the top-right corner.
You will need to add image data for the Train Set, Val Set, and Test Set. The data is versioned, and the project can hold multiple versions of the data.Click Create to open the Import from Catalog screen.
Select Dataset, View, and the column with the ground truth and bounding box information.
For Object detection, the column should be of type boundingbox2dgt or boundingbox2dpred virtual column types.
For Classification, the column should be of type classlabelgt or classlabelpred type.
Refer to Virtual Columns for details on virtual column types.
Refer to Create view with classification data and Create view with object detection data to create views with Classification and Object Detection data, respectively.
In the Max Frame drop down, select a number or enter a custom number for the images to be imported for the training.
The images are added to the training session screen.
Click Import on the top-right corner, and specify the split ratio for the Train, Validation, and Test sets.
Select the applicable split-mode, and click Done.
For object detection, only random split is supported.Review the images in each set.
Scroll through each section to review the images.
Click the graph icon on the top right of each set to view the class distribution of the images.
Click the expand icon adjacent to the graph icon to view images of the selected set on a single page.
You can add more images by going through Add Data steps again.
Click Save.
In the Save Version window, enter a Name and click Save to save this dataset version.
Click the Back to Session button.
On the session creation page, select the data version that you just created, and click Next.
Under the Select Model tab, select the Model Size, Dataset Type, and Number of epochs for the training.
These parameters will be used to select a suitable base model automatically.
Click Next.
Review the data version and model parameters, and click Submit to initiate a training session.
You can track the status of the session on the session listing page.