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

The epoch.end.callback parameter

This is a callback function that allows you to register another function that is called after n epochs. Deep learning models take a long time to train, so you need some feedback to know they are working correctly! You can write a custom callback function to do whatever you need, but usually it outputs to the screen or log after n epochs. This is equivalent to the code in our neural network that printed a diagnostic message every 500 epochs. The callback function can also be used to save the model to disk, for example, if you wanted to save the model before it begins to overfit.

主站蜘蛛池模板: 沙雅县| 罗源县| 平阳县| 银川市| 阜宁县| 南充市| 英吉沙县| 安徽省| 临海市| 腾冲县| 梓潼县| 辰溪县| 府谷县| 尤溪县| 鄂尔多斯市| 巴里| 黑山县| 托克托县| 彭阳县| 朝阳县| 伽师县| 巴塘县| 安宁市| 香格里拉县| 贵德县| 通州区| 闽清县| 千阳县| 香格里拉县| 新兴县| 台江县| 九台市| 绍兴县| 嘉峪关市| 通榆县| 子长县| 方城县| 元谋县| 德兴市| 临泉县| 三穗县|