Creating a Labeling Job
Create a labeling job based on a dataset.
dataset.create_label_task(self, task_name=None, task_type=None, **kwargs)
Sample Code
from modelarts.session import Session from modelarts.dataset import Dataset session = Session() dataset = Dataset(session, dataset_id="VukxA2FlaTUm7tkDtq0") # Initialize the dataset. create_task_resp = dataset.create_label_task(task_name="obj_detection_task", task_type=1, description="label task")
Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
task_name |
Yes |
String |
Name of a labeling job |
task_type |
Yes |
Integer |
Type of a labeling job. Options:
|
description |
No |
String |
Description of a labeling job |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.