DatasetInfoABC¶

class DatasetInfoABC[source]¶

Define an abstract class for holding dataset information.

Enforcing such that following attributes must always be defined by the subclass.

Property:
inputs (list):

A list of paths where each path points to a sample image.

labels (list): A list of int where each is the label of

the sample at the same index.

label_names (dict):

A dict indicates the possible associate name of each label value.

Methods

Attributes

inputs

A list of paths where each path points to a sample image.

label_names

A dict indicates the possible associate name of each label value.

labels

A list of labels where each is the label of the sample at the same index.

abstract property inputs: None¶

A list of paths where each path points to a sample image.

abstract property label_names: None¶

A dict indicates the possible associate name of each label value.

abstract property labels: None¶

A list of labels where each is the label of the sample at the same index.