DatasetInfoABC¶
tiatoolbox
.models
.dataset
.info
.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
A list of paths where each path points to a sample image.
A dict indicates the possible associate name of each label value.
A list of labels where each is the label of the sample at the same index.