Skip to content

Instantly share code, notes, and snippets.

@agnesmm

agnesmm/a1g4.py Secret

Created September 17, 2017 13:05
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 agnesmm/2e4b503ed9211f4853a71384bdae7966 to your computer and use it in GitHub Desktop.
Save agnesmm/2e4b503ed9211f4853a71384bdae7966 to your computer and use it in GitHub Desktop.
model.fit_generator(batches, samples_per_epoch=batches.nb_sample, nb_epoch=1,
validation_data=valid_batches, nb_val_samples=valid_batches.nb_sample)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment