Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
adam = Adam(lr=0.0005)
model.compile(optimizer=adam, loss="mse")
history = model.fit_generator(train_generator,
steps_per_epoch=STEP_SIZE_TRAIN,
validation_data=validation_generator,
validation_steps=STEP_SIZE_VAL,
epochs=30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment