Can I use TensorBoard with Google Colab?

前端 未结 19 2954
滥情空心
滥情空心 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:03

    Here's an easier way to do the same ngrok tunneling method on Google Colab.

    !pip install tensorboardcolab
    

    then,

    from tensorboardcolab import TensorBoardColab, TensorBoardColabCallback
    
    tbc=TensorBoardColab()
    

    Assuming you are using Keras:

    model.fit(......,callbacks=[TensorBoardColabCallback(tbc)])
    

    You can read the original post here.

提交回复
热议问题