How do I use the Tensorboard callback of Keras?

前端 未结 10 598
名媛妹妹
名媛妹妹 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:26

    There are few things.

    First, not /Graph but ./Graph

    Second, when you use the TensorBoard callback, always pass validation data, because without it, it wouldn't start.

    Third, if you want to use anything except scalar summaries, then you should only use the fit method because fit_generator will not work. Or you can rewrite the callback to work with fit_generator.

    To add callbacks, just add it to model.fit(..., callbacks=your_list_of_callbacks)

提交回复
热议问题