Keras: use Tensorboard with train_on_batch()
问题 For the keras functions fit() and fit_generator() there is the possibility of tensorboard visualization by passing a keras.callbacks.TensorBoard object to the functions. For the train_on_batch() function there obviously are no callback available. Are there other options in keras to create a Tensorboard in this case? 回答1: A possible way to create the TensorBoard callback, and drive it manually: # This example shows how to use keras TensorBoard callback # with model.train_on_batch import