mistk.transform.server.models.mistk_dataset module

class mistk.transform.server.models.mistk_dataset.MistkDataset(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, data_path: str = 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 data_path

Gets the data_path of this MistkDataset.

Returns

The data_path of this MistkDataset.

Return type

str

property datastash_id

Gets the datastash_id of this MistkDataset.

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 MistkDataset.

Return type

str

property datastash_sub_dir

Gets the datastash_sub_dir of this MistkDataset.

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

Returns

The datastash_sub_dir of this MistkDataset.

Return type

str

property default_ground_truth_set_reference

Gets the default_ground_truth_set_reference of this MistkDataset.

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 MistkDataset.

Return type

ObjectReference

property format

Gets the format of this MistkDataset.

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 MistkDataset.

Return type

str

classmethod from_dict(dikt) → mistk.transform.server.models.mistk_dataset.MistkDataset

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The MistkDataset of this MistkDataset. # noqa: E501

Return type

MistkDataset

property modality

Gets the modality of this MistkDataset.

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 MistkDataset.

Return type

str

property object_info

Gets the object_info of this MistkDataset.

Returns

The object_info of this MistkDataset.

Return type

ObjectInfo

property statistics

Gets the statistics of this MistkDataset.

Returns

The statistics of this MistkDataset.

Return type

DatasetStatistics