View source on GitHub |
Dataset library for image classifier.
Inherits From: ClassificationDataset
, Dataset
mediapipe_model_maker.image_classifier.Dataset(
dataset: tf.data.Dataset,
label_names: List[str],
size: Optional[int] = None
)
Attributes | |
---|---|
label_names
|
|
num_classes
|
|
size
|
Returns the size of the dataset.
Same functionality as calling len. See the len method definition for more information. |
Methods
from_folder