DataSet Type.

DatasetType[source]

Enum = [IMAGE_CLASSIFICATION, IMAGE_SEGMENTATION, IMAGE_GENERATION, IMAGE_OBJECT_DETECTION]

Currently supported Machine Learning Types.

infer_dataset_type[source]

infer_dataset_type(path)

Try to infer the dataset type from the category file path. path: the path to infer from return: the infered dataset type raises: ValueError if infer failed