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

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.

主站蜘蛛池模板: 梧州市| 尼勒克县| 巫溪县| 保康县| 大丰市| 榆中县| 花垣县| 柘荣县| 台南县| 开平市| 广灵县| 台东县| 阿巴嘎旗| 连山| 祁阳县| 句容市| 左贡县| 三河市| 周口市| 佛坪县| 孙吴县| 昂仁县| 盘山县| 长垣县| 家居| 柘荣县| 长岛县| 望都县| 盐城市| 新建县| 沅江市| 南溪县| 城口县| 延津县| 颍上县| 高青县| 雷波县| 勐海县| 九寨沟县| 简阳市| 莒南县|