Created
June 25, 2019 22:41
-
-
Save obeshor/0b5cbba3a5f4db2eaad71be09f31965c to your computer and use it in GitHub Desktop.
Training Model
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
EPOCHS=10 #@param {type:"integer"} | |
STEPS_EPOCHS = train_generator.samples//train_generator.batch_size | |
VALID_STEPS=validation_generator.samples//validation_generator.batch_size | |
history = model.fit_generator( | |
train_generator, | |
steps_per_epoch=STEPS_EPOCHS, | |
epochs=EPOCHS, | |
validation_data=validation_generator, | |
validation_steps=VALID_STEPS) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment