PyToune:一款类Keras的PyTorch框架
2024-09-04 18:25:08
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四个部分。
最新文章
- 如何取消MSSQL自带智能提示步骤,使用第三方智能提示插件
- django操作数据库之查询F,Q操作 和 seach搜索功能
- docker 命令汇总
- jquery 下拉菜单
- C++的vector学习abc
- Restful API的设计与实践
- Intel大坑之中的一个:丢失的SSE2 128bit/64bit 位移指令,马航MH370??
- JS 日期工具类-基于yDate
- 【python之路7】python基本数据类型(一)
- 开发自己的cordova插件
- Blue Jeans
- 2.请尝试安装和配置JDK,并给出安装、配置JDK的步骤。
- [速成]了解一致性hash算法
- 最简单的基于libVLC的例子:最简单的基于libVLC的视频播放器(图形界面版)
- 精读《useEffect 完全指南》
- Python PIL
- grep正则表达式搜索
- Mysql基于GTID复制模式-运维小结 (完整篇)
- 按钮JButton,单选按钮JRadioButton,复选框JCheckBox
- weblogic/tomcat Get乱码【转】