Skip to content

Instantly share code, notes, and snippets.

@tuttelikz
Created January 21, 2018 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuttelikz/be8b255800262a0e2bdd50f11df7ff31 to your computer and use it in GitHub Desktop.
Save tuttelikz/be8b255800262a0e2bdd50f11df7ff31 to your computer and use it in GitHub Desktop.
This is a snippet example how to create multiple accuracies on same plot in Tensorboard
train_summary = tf.Summary()
train_summary.value.add(tag="%sAccuracy" % fold,simple_value=avg_train_acc)
train_summary.value.add(tag="%sLoss" % fold,simple_value=avg_train_loss)
train_writer.add_summary(train_summary,epoch)
test_summary = tf.Summary()
test_summary.value.add(tag="%sAccuracy" % fold,simple_value=avg_test_acc)
test_summary.value.add(tag="%sLoss" % fold,simple_value=avg_test_loss)
test_writer.add_summary(test_summary,epoch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment