A library make TensorBoard working in Colab Google
pip install tensorboardcolab
In Colab Google Jupyter, for auto install and ensure using latest version of TensorBoardColab, please add "!pip install -U tensorboardcolab" at the first line of Jupyter cell
Tensorflow
TensorBoard
npm
from tensorboardcolab import *
tbc=TensorBoardColab()
After initialization, TensorBoard link will be shown in Colab Google Juyter output
PS: If Initialization failed and keep retrying forever, please increase startup_waiting_time larger than 8 seconds as below
tbc=TensorBoardColab(startup_waiting_time=30)
model.fit(x,y,epochs=100000,callbacks=[TensorBoardColabCallback(tbc)])
tbc.save_image(title="test_title", image=image)
tbc.save_value("graph_name", "line_name", epoch, value)
.
.
.
tbc.flush_line(line_name)
tbc.close()
ngrok !