monailabel.datastore.cvat module

class monailabel.datastore.cvat.CVATDatastore(datastore_path, api_url, username=None, password=None, project='MONAILabel', task_prefix='ActiveLearning_Iteration', image_quality=70, labels=None, normalize_label=True, segment_size=1, **kwargs)[source]

Bases: monailabel.datastore.local.LocalDatastore

Creates a LocalDataset object

Parameters:

datastore_path: str

a string to the directory tree of the desired dataset

datastore_config: str

optional file name of the dataset configuration file (by default dataset.json)

description()[source]

Gets the description field for the dataset

Return description

str

Return type

str

download_from_cvat(max_retry_count=5, retry_wait_time=10)[source]
get_cvat_project_id(create)[source]
get_cvat_task_id(project_id, create)[source]
name()[source]

Dataset name (if one is assigned)

Returns

Dataset name as string

Return type

name (str)

task_status()[source]
trigger_automation(function)[source]
upload_to_cvat(samples)[source]