Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Created June 28, 2021 16:01
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 um4ng-tiw/27a3af108591947496a29a6bcf072e0a to your computer and use it in GitHub Desktop.
Save um4ng-tiw/27a3af108591947496a29a6bcf072e0a to your computer and use it in GitHub Desktop.
datagen_test = ImageDataGenerator(rescale = 1/255.0)
test_data_generator = datagen.flow_from_directory(directory="cell_images/valid", target_size = (img_width, img_height),
class_mode="binary", batch_size = 16, subset = "training")
model.evaluate(test_data_generator)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment