I am using Keras with Tensorflow backend. My work involves comparing the performances of several models such as Inception, VGG, Resnet etc on my dataset. I would like to plot the training accuracies of several models in one graph. I am trying to do this in Tensorboard, but it is not working.
Is there a way of plotting multiple graphs in one plot using Tensorboard or is there some other way I can do this?
Thank you
tf.summary.scalar("loss", cost)
where cost is a tensor `cost = tf.reduce_mean(-tf.reduce_sum(y*tf.log(pred), reduction_indices=1))merged_summary_op = tf.summary.merge_all()
summary = sess.run(merged_summary_op)
merged_summary_op
you have to write the summary using summary_writer :summary_writer.add_summary(summary, epoch_number)
wheresummary_writer = tf.summary.FileWriter(logs_path, graph=tf.get_default_graph())
tensorboard --logdir="logpath"
==================== UPDATED =================
I have tried saving accuracy and loss of different models to different directories and then making tensorboard to point to the parent directory and it works, you will get results of different models in the same graph. I have tried this myself and it works.
Just save each runs in different folders under a main folder and open tensorboard on the main folder.
From the terminal, run tensorboard as such: