-
-
Save tanmay1070/da9b9c1a9cb1238613120857f7deee2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
train_data = tf.keras.preprocessing.image_dataset_from_directory( | |
train, | |
validation_split=0.2, | |
image_size=(224,224), | |
batch_size=30, | |
subset='training', | |
seed=500 ) | |
test_data=tf.keras.preprocessing.image_dataset_from_directory( | |
test, | |
image_size=(224,224), | |
batch_size=30, | |
seed=500 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment