mistk.transform.server.models.dataset module

class mistk.transform.server.models.dataset.Dataset(object_info: mistk.transform.server.models.object_info.ObjectInfo = None, datastash_id: str = None, datastash_sub_dir: str = None, modality: str = None, format: str = None, statistics: mistk.transform.server.models.dataset_statistics.DatasetStatistics = None, default_ground_truth_set_reference: mistk.transform.server.models.object_reference.ObjectReference = None)

Bases: mistk.transform.server.models.base_model_.Model

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

property datastash_id

Gets the datastash_id of this Dataset.

The id of the datastash associated with this dataset where all of its files will be stored. # noqa: E501

Returns

The datastash_id of this Dataset.

Return type

str

property datastash_sub_dir

Gets the datastash_sub_dir of this Dataset.

This field denotes the sub path within the datastash where this dataset’s data resides. # noqa: E501

Returns

The datastash_sub_dir of this Dataset.

Return type

str

property default_ground_truth_set_reference

Gets the default_ground_truth_set_reference of this Dataset.

A reference to the default ground truth set that is associated with this dataset # noqa: E501

Returns

The default_ground_truth_set_reference of this Dataset.

Return type

ObjectReference

property format

Gets the format of this Dataset.

A string representing the name of the format of the dataset. This should be sufficient to ensure that models and transforms are able to read and parse the data. # noqa: E501

Returns

The format of this Dataset.

Return type

str

classmethod from_dict(dikt) → mistk.transform.server.models.dataset.Dataset

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The Dataset of this Dataset. # noqa: E501

Return type

Dataset

property modality

Gets the modality of this Dataset.

The type of the data supported by this implementation, one of image, audio, video, text, etc. This does not specify the format of the data. Available modalities can be found using the “global/meta/dataModalities” endpoint # noqa: E501

Returns

The modality of this Dataset.

Return type

str

property object_info

Gets the object_info of this Dataset.

Returns

The object_info of this Dataset.

Return type

ObjectInfo

property statistics

Gets the statistics of this Dataset.

Returns

The statistics of this Dataset.

Return type

DatasetStatistics