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?
相关问题
- batch_dot with variable batch size in Keras
- How to use Reshape keras layer with two None dimen
- Why keras use “call” instead of __call__?
- How to conditionally scale values in Keras Lambda
- neural network does not learn (loss stays the same
相关文章
- Tensorflow: device CUDA:0 not supported by XLA ser
- Change loss function dynamically during training i
- Why does this Keras model require over 6GB of memo
- How to measure overfitting when train and validati
- keras model subclassing examples
- How to disable keras warnings?
- ValueError: Unknown metric function when using cus
- keras image preprocessing unbalanced data
A possible way to create the TensorBoard callback, and drive it manually:
I think that currently the only option is to use tensorflow code. In this stackoverflow answer I found a way to create a tensorboard log manually. Thus a code sample with the keras
train_on_batch()
could look like this:Note: For this example in Tensorboard you have to choose the Horizontal Axis "RELATIVE" as no step is passed to the summery.