Can I use TensorBoard with Google Colab?

前端 未结 19 2800
滥情空心
滥情空心 2020-11-27 10:43

Is there any way to use TensorBoard when training a TensorFlow model on Google Colab?

相关标签:
19条回答
  • 2020-11-27 11:10

    Yes definitely, using tensorboard in google colab is quite easy. Follow the following steps-

    1) Load the tensorboard extension

    %load_ext tensorboard.notebook
    

    2) Add it to keras callback

    tensorboard_callback = tf.keras.callbacks.TensorBoard(logdir, histogram_freq=1)
    

    3) Start tensorboard

    %tensorboard — logdir logs
    

    Hope it helps.

    0 讨论(0)
提交回复
热议问题