Skip to content

Instantly share code, notes, and snippets.

@sdcubber
Last active July 30, 2018 15:25
Show Gist options
  • Save sdcubber/604f989d572c1900137050eacab8556a to your computer and use it in GitHub Desktop.
Save sdcubber/604f989d572c1900137050eacab8556a to your computer and use it in GitHub Desktop.
callbacks = [
tf.keras.callbacks.ModelCheckpoint('./model.h5', verbose=1)
]
model.fit_generator(generator=seq,
verbose=1,
epochs=1,
use_multiprocessing=True,
workers=4,
callbacks=callbacks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment