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

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.

主站蜘蛛池模板: 婺源县| 赞皇县| 城固县| 宁津县| 登封市| 清原| 紫阳县| 江油市| 红安县| 周至县| 灌云县| 古蔺县| 宝清县| 景谷| 绵阳市| 水城县| 景谷| 长子县| 株洲县| 安多县| 隆化县| 两当县| 阿鲁科尔沁旗| 东方市| 葫芦岛市| 同心县| 都昌县| 舟山市| 安化县| 兴仁县| 玛沁县| 兴文县| 临沭县| 扶余县| 富裕县| 内丘县| 阳泉市| 南郑县| 当阳市| 宝丰县| 双城市|