码迷,mamicode.com
首页 > 其他好文 > 详细

PyToune:一款类Keras的PyTorch框架

时间:2018-08-04 11:56:55      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:策略   ram   image   OWIN   framework   logging   index   epo   roc   

PyToune is a Keras-like framework for PyTorch and handles much of the boilerplating code needed to train neural networks.

官方文档:https://pytoune.org/index.html

可以看到官方文档页面布局也是浓浓的Keras风:

 技术分享图片

手册中主要内容集中在pytoune.framework以及pytoune.framework.callbacks。

pytoune.framework:

中提供了常用的训练所使用到的方法,省去了自己编写训练代码,或在此源码基础上自己做修改。

pytoune.framework.callbacks:
官方说明:

Callbacks are a way to interact with the optimization process. For instance, the ModelCheckpoint callback allows to save the weights of the epoch that has the best “score”,
or the EarlyStopping callback allows to stop the training when the “score” has not gone up for a while, etc. The following presents the callbacks available in PyToune,
but first the documentation of the Callback class shows which methods are available in the callback and what arguments they are provided with.

callbacks用来与优化过程做交互,比如在best acc时保存权重,earlystopping策略等等。

Callbacks分为Callback、Logging、Checkpointing、LR Schedulers四个部分。

 

PyToune:一款类Keras的PyTorch框架

标签:策略   ram   image   OWIN   framework   logging   index   epo   roc   

原文地址:https://www.cnblogs.com/ocean1100/p/9417482.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!