otcextensions.sdk.modelartsv2.v2.dataset¶
The ModelArts Dataset Class¶
The Config
class inherits from
Resource
.
- class otcextensions.sdk.modelartsv2.v2.dataset.Dataset(_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'¶
The base part of the URI for this resource.
- resources_key: ty.Optional[str] = 'datasets'¶
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_delete = True¶
Allow delete operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- allow_commit = True¶
Allow update operation for this resource.
- ai_project¶
AI Project
- annotated_sample_count¶
Number of labeled samples in a dataset.
- annotated_sub_sample_count¶
Number of labeled subsamples.
- content_labeling¶
Whether to enable content labeling for the speech paragraph labeling dataset.
- create_time¶
Time when a dataset is created.
- current_version_id¶
Current version ID of a dataset.
- current_version_name¶
Current version name of a dataset.
- data_format¶
Data format.
- data_sources¶
Data source list.
- data_statistics¶
Sample statistics on a dataset, including the statistics on sample metadata.
- data_update_time¶
Time when a sample and a label are updated.
- dataset_format¶
Dataset format.
- dataset_id¶
Dataset ID.
- dataset_name¶
Dataset name.
- dataset_tags¶
Key identifier list of a dataset, for example, [“Image”,”Object detection”].
- dataset_type¶
Dataset type.
- dataset_version¶
Dataset version.
- dataset_version_count¶
Number of dataset versions.
- deleted_sample_count¶
Number of deleted samples.
- deletion_stats¶
Deletion reason statistics.
- description¶
Dataset description.
- enterprise_project_id¶
Enterprise project ID.
- exist_running_task¶
Whether the dataset contains running (including initialization) tasks.
- exist_workforce_task¶
Whether the dataset contains team labeling tasks.
- feature_supports¶
List of features supported by the dataset.
- import_annotations¶
Whether to automatically import the labeling information in the input directory, supporting detection, image classification, and text classification.
- import_data¶
Whether to import data.
- import_task_id¶
ID of an import task.
- inner_annotation_path¶
Path for storing the labeling result of a dataset.
- inner_data_path¶
Path for storing the internal data of a dataset.
- inner_log_path¶
Path for storing internal logs of a dataset.
- inner_task_path¶
Path for internal task of a dataset.
- inner_temp_path¶
Path for storing internal temporary files of a dataset.
- inner_work_path¶
Output directory of a dataset.
- label_format¶
Label format information.
- label_task_count¶
Number of labeling tasks.
- labels¶
Dataset label list.
- loading_sample_count¶
Number of loading samples.
- managed¶
Whether a dataset is hosted.
- name: ty.Union[Body, URI]¶
Dataset name.
- next_version_num¶
Number of next versions of a dataset.
- running_tasks_id¶
ID list of running (including initialization) tasks.
- schema¶
Schema list.
- status¶
Dataset status.
- third_path¶
Third-party path.
- total_sample_count¶
Total number of dataset samples.
- total_sub_sample_count¶
Total number of subsamples generated from the parent samples.
- unconfirmed_sample_count¶
Number of auto labeling samples to be confirmed.
- update_time¶
Time when a dataset is updated.
- versions¶
Dataset version information.
- work_path¶
Output dataset path, which is used to store output files such as label files.
- work_path_type¶
Type of the dataset output path.
- workforce_descriptor¶
Team labeling information.
- workforce_task_count¶
Number of team labeling tasks of a dataset.
- workspace_id¶
Workspace ID.