官术网_书友最值得收藏!

Introducing Keras callbacks

Callbacks in Keras are functions that can be run during the training process. They can do all kinds of great things, such as saving your model weights after an epoch, logging things, changing your hyperparameters, or conveniently writing TensorBoard log files. You can even create your own custom callbacks.

We will be using the TensorBoard callback in the next section; however, I'd encourage you to take a look at all the callbacks available in Keras at https://keras.io/callbacks.

TensorBoard callbacks are objects that can be configured and instantiated before model training.  We will be creating a list of these callbacks.  Once we have created a list of callbacks that we want to use with our deep neural network, we can simply pass that list as an argument to the model's .fit() method.   These callbacks will then be used at each epoch, or as appropriate by Keras.  This will make more sense as we walk through the next example.

主站蜘蛛池模板: 繁昌县| 涞源县| 醴陵市| 宕昌县| 志丹县| 娄底市| 浙江省| 滦平县| 屏山县| 铅山县| 台南县| 柳河县| 罗平县| 临湘市| 云霄县| 自贡市| 皋兰县| 浦东新区| 青川县| 清镇市| 安平县| 南安市| 五华县| 长武县| 昌吉市| 平顺县| 长寿区| 聂拉木县| 平定县| 石柱| 福建省| 仙游县| 额济纳旗| 本溪市| 平山县| 冀州市| 花莲市| 什邡市| 嘉黎县| 咸阳市| 天门市|