Skip to content

Instantly share code, notes, and snippets.

@esdonto
Last active November 8, 2019 20:22
Show Gist options
  • Save esdonto/2937f85e5022009c4692ff593631925c to your computer and use it in GitHub Desktop.
Save esdonto/2937f85e5022009c4692ff593631925c to your computer and use it in GitHub Desktop.
import datetime
import os
log_dir = os.path.join( "logs", "fit", datetime.datetime.now().strftime("%Y%m%d-%H%M%S") )
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)
resultados = modelo.fit(x_train, y_train, batch_size = 6000, epochs=99, callbacks=[tensorboard_callback])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment