Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pritishaw1/8a9fa894e73ac1396126e72d5e897d28 to your computer and use it in GitHub Desktop.
Save pritishaw1/8a9fa894e73ac1396126e72d5e897d28 to your computer and use it in GitHub Desktop.
train_generator = train_datagen.flow_from_directory(
'/content/drive/MyDrive/CovidDataset/Train',
target_size = (224,224),
batch_size = 32,
class_mode = 'binary')
validation_generator = test_datagen.flow_from_directory(
'/content/drive/MyDrive/CovidDataset/Val',
target_size = (224,224),
batch_size = 32,
class_mode = 'binary')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment