Managing tasks
See how you can create and manage tasks on Mindkosh using the SDK
from mindkosh import Client, Label
labelsObjects = [
mindkosh.Label(
name="Pedestrian",
color=hex_codes[0],
sequence=1,
attributes=[
{
'name': 'Age-group',
'input_type': 'radio',
'default_value': 'Adult',
'mutable': False,
'values': ['Adult', 'Child']
}
]
),
mindkosh.Label(name="Truck", color=hex_codes[1], sequence=2),
]
newTask = client.task.create(
name="sample-task",
labels=labelsObjects,
dataset_id=datasetId,
project_id=213,
job_modes=['validation','qc'],
batches=3,
tags=['tag1'],
)Label properties
Property
Type
Required
Description
Label attributes (properties)
Task parameters
Property
Type
Required
Description
Last updated