Created
October 17, 2020 07:44
-
-
Save satishgunjal/9683f91b23382757540d20087f28e881 to your computer and use it in GitHub Desktop.
To view in TensorBoard
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
%%timeit -n1 -r1 # time required toexecute this cell once | |
# To view in TensorBoard | |
logdir = os.path.join("logs/adam", datetime.datetime.now().strftime("%Y%m%d-%H%M%S")) | |
tensorboard_callback = tf.keras.callbacks.TensorBoard(logdir, histogram_freq=1) | |
model.fit(train_images, train_labels, epochs= 10, callbacks = [tensorboard_callback]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment