1. 首页
  2. 数据库
  3. 其它
  4. pytorch gradual warmup lr:PyTorch的逐步预热学习速率调度程序 源码

pytorch gradual warmup lr:PyTorch的逐步预热学习速率调度程序 源码

上传者: 2021-02-08 13:00:05上传 ZIP文件 34KB 热度 277次
pytorch渐进热身lr pytorch优化器的逐步热身(增加)学习率。 在“准确,大型的小批量SGD:1小时内培训ImageNet”中提出。 示例:逐步预热100个时间段,然后使用余弦退火。 安装 $ pip install git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git 用法 请参阅文件。 import torch from torch . optim . lr_scheduler import StepLR , ExponentialLR from torch . optim . sgd import
下载地址
用户评论