DatasetInfoABC

class DatasetInfoABC[source]

Define an abstract class for holding dataset information.

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

inputs

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

Type

list

labels

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

Type

list

label_names

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

Type

dict

Methods

Attributes

inputs

label_names

labels