Skip to content

Instantly share code, notes, and snippets.

@MohdShariqMalik
Created August 27, 2021 15:19
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 MohdShariqMalik/5e5de367133d58de181295a072348fb3 to your computer and use it in GitHub Desktop.
Save MohdShariqMalik/5e5de367133d58de181295a072348fb3 to your computer and use it in GitHub Desktop.
model.compile(optimizer = 'adam',loss = 'binary_crossentropy', metrics = ['accuracy'])
history = model.fit_generator(training_set, epochs = 20, validation_data=test_set)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment