otcextensions.sdk.modelartsv2.v2.dataset_import_task¶
The ModelArts DatasetImportTask Class¶
The Config
class inherits from
Resource
.
- class otcextensions.sdk.modelartsv2.v2.dataset_import_task.DatasetImportTask(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- base_path: str = '/datasets/%(uri_dataset_id)s/import-tasks'¶
The base part of the URI for this resource.
- resources_key: ty.Optional[str] = 'import_tasks'¶
Plural form of key for resource.
- allow_create = True¶
Allow create operation for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_patch = True¶
Allow patch operation for this resource.
- annotated_sample_count¶
Number of labeled samples.
- annotation_format¶
Format of the labeling information.
- created_at¶
Time when a task is created.
- data_source¶
Data source.
- dataset_id¶
Dataset ID.
- uri_dataset_id¶
Dataset ID.
- difficult_only¶
Whether to import only hard examples.
- elapsed_time¶
Task running time, in seconds.
- error_code¶
Error code.
- error_msg¶
Error message.
- excluded_labels¶
Do not import samples containing the specified label.
- file_statistics¶
Progress of file copy.
- final_annotation¶
Whether to import data to the final state.
- finished_file_count¶
Number of files that have been transferred.
- finished_file_size¶
Size of the file that has been transferred, in bytes.
- import_annotations¶
Whether to import labels.
- import_folder¶
Name of the subdirectory in the dataset storage directory after import.
- import_origin¶
Data source.
- import_path¶
OBS path or manifest path to be imported.
- import_type¶
Import mode.
- import_samples¶
Whether to import samples.
- imported_sample_count¶
Number of imported samples.
- imported_sub_sample_count¶
Number of imported subsamples.
- included_labels¶
Import samples containing the specified label.
- label_format¶
Label format.
- processor_task_id¶
ID of a preprocessing task.
- processor_task_status¶
Status of a preprocessing task.
- status¶
Status of an import task.
- task_id¶
ID of an import task.
- total_file_count¶
Total number of files.
- total_file_size¶
Total file size, in bytes.
- total_sample_count¶
Total number of samples.
- total_sub_sample_count¶
Total number of subsamples generated from the parent samples.
- unconfirmed_sample_count¶
Number of samples to be confirmed.
- updated_at¶
Time when a task is updated.
- with_column_header¶
Whether the first row in the file is a column name.