Last active
July 25, 2020 14:42
-
-
Save girija2204/0d64797dc8f7fa2b288f113318a38717 to your computer and use it in GitHub Desktop.
Creating a model on the tensor slices
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
logs = "logs/"+datetime.datetime.now().strftime("%Y%m%d-%H%M%S") | |
# Profiling on batches 200 to 220 | |
tfboard_callback = tf.keras.callbacks.TensorBoard( | |
log_dir=logs, | |
histogram_freq=1, | |
profile_batch='200,220' | |
) | |
history_dataset = model.fit( | |
train_tensor_slices, | |
validation_data=test_tensor_slices, | |
epochs=EPOCHS, | |
callbacks=[tfboard_callback] | |
) | |
%load_ext tensorboard | |
%tensorboard --logdir=logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment