Annotation
Annotation provides mainstreaming annotation tools and well integrated to MLSteam.
Setup Label Studio
Label Studio is a data annotation tool, available in MLSteam. To setup Label Studio:
Create a project-scoped folder as image source.
We use
yolo-sampleas an example here.Create a Label Studio environment
Enter Label Studio.
Click on the Create Project button.
In the dialog, fill in the following fields, and click on the Save button:
In the project page, click on the Settings button.
In the Cloud Storage section, click on the Add Source Storage button.
In the dialog, fill in the following fields, and click on the Add Storage button.
Storage type:
Local filesStorage title: a storage title (optional)
Absolute path: path to the images to label (for the yolo-sample dataset, this would be
/data/yolo-sample/training_data/yolo/images)File filter regex: image file filter in regular expressions (optional) (for the yolo-sample dataset, this would be
.*jpg)Treat every bucket object as a source file:
enabled
Back to the project settings page, click on the Sync Storage button.
Back to the project main page by clicking on the top navbar.
Select an image to label, add the bounding boxes for the corresponding classes, and click on the Submit button.
Repeat the previous step until all the images are labelled.
Export Label Studio Annotations to an Attached Folder
Make sure the destination MLSteam folder has been attached to Label Studio and has an output directory (E.g.,
output).Go to the project settings page, click on the Add Target Storage button.
In the dialog, fill in the following fields, and click on the Add Storage button.
Back to the project settings page, click on the Sync Storage button.
Back to the folder page, the labelling data will be saved in the output directory.
Export Label Studio Annotations to any Project Folder
Make sure the destination MLSteam folder has been created in the project and has an output directory.
Click on the Export Annotation item in the top menu.
In the dialog, fill in the following fields, and then click on the Select button.
Select the output folder and directory, and then click on the OK button.
Click on the Export button to start annotation export.
Wait for a while, and the exported file will be saved in the output folder.
Setup CVAT
CVAT is a data annotation tool, available in MLSteam. To setup CVAT:
Create a project-scoped folder as image source.
We use
yolo-sampleas an example here.Create a CVAT environment.
Enter CVAT.
Click on the Create new task button.
Fill the task creation form fields.
Open the task after submit.
Open the job.
Do the labeling (labeling process is not covered here).
Export CVAT Annotations to any Project Folder
Make sure the destination MLSteam folder has been created in the project and has an output directory.
Click on the Export Annotation item in the top menu.
In the dialog, fill in the following fields, and then click on the Select button.
Select the output folder and directory, and then click on the OK button.
Click on the Export button to start annotation export.
Wait for a while, and the exported file will be saved in the output folder.































