How do I use the Tensorboard callback of Keras?

前端 未结 10 592
名媛妹妹
名媛妹妹 2020-12-04 04:57

I have built a neural network with Keras. I would visualize its data by Tensorboard, therefore I have utilized:

keras.         


        
10条回答
  •  不思量自难忘°
    2020-12-04 05:38

    Change

    keras.callbacks.TensorBoard(log_dir='/Graph', histogram_freq=0,  
              write_graph=True, write_images=True)
    

    to

    tbCallBack = keras.callbacks.TensorBoard(log_dir='Graph', histogram_freq=0,  
              write_graph=True, write_images=True)
    

    and set your model

    tbCallback.set_model(model)
    

    Run in your terminal

    tensorboard  --logdir Graph/
    

提交回复
热议问题