title: Keras with Tensorboard: No scalar data was found
body: <p>I feel like this is a very simple problem but I just cannot find the problem even after looking online. I am trying to have the tensorboard display graphs for the loss and accuracy.</p>
  
  <p>This is the line of code that trains the neural net with the Tensorboard as a callback</p>
  
  <pre><code>unet.fit(x_train, y_train, epochs = 2, batch_size = 256, shuffle = True, validation_data = (x_test, y_test),callbacks = [TensorBoard(log_dir = 'tmp/unet', histogram_freq = 0, write_graph = True, write_images = False)])
  </code></pre>
  
  <p>After using the below command in terminal it says there is no scalar data found. </p>
  
  <pre><code>tensorboard --logdir=.../tmp/unet
  </code></pre>