Разбиваем датасет

PHOTO EMBED

Fri Jul 30 2021 20:48:28 GMT+0000 (Coordinated Universal Time)

Saved by @Pavel

train_ds = tf. keras. preprocessing. image_dataset_from_directory(
"/content/classification/simple/",
validation_split = 0.10,
image_size = image_size,
subset="training",
seed=42690,)
Found 3918 files belonging to 2 classes.
Using 3527 files for training.
validation_ds = tf. keras. preprocessing. image_dataset_from_directory(
"/content/classification/simple/",
validation_split = 0.10,
image_size = image_size,
subset="validation",
seed=42690,)
content_copyCOPY

https://youtu.be/6o_M2svCNUo