当前位置:网站首页>ValueError: loaded state dict contains a parameter group that doesn‘t match the size of optimizer‘s
ValueError: loaded state dict contains a parameter group that doesn‘t match the size of optimizer‘s
2022-04-23 05:56:00 【fattt_】
Solve training errors :ValueError: loaded state dict contains a parameter group that doesn’t match the size of optimizer’s group
What do you mean : Loading state dict Contains a parameter group that does not match the size of the optimizer Group
Temporary settlement : Comment out optimizer.load_state_dict(ckpt[‘optimizer’])
because
if cfg.BACKBONE.TRAIN_EPOCH == epoch:
logger.info(‘start training backbone.’)
optimizer, lr_scheduler = build_opt_lr(model.module, epoch)
logger.info(“model\n{}”.format(describe(model.module)))
When epoch=10 When ,optimizer Will regenerate .
版权声明
本文为[fattt_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230541585097.html
边栏推荐
- 深度学习基础——简单了解meta learning(来自李宏毅课程笔记)
- PyQt5学习(一):布局管理+信号和槽关联+菜单栏与工具栏+打包资源包
- Rsync for file server backup
- 解决报错:ImportError: IProgress not found. Please update jupyter and ipywidgets
- 图解HashCode存在的意义
- interviewter:介绍一下MySQL日期函数
- 实操—Nacos安装与配置
- PyTorch入门小笔记——利用简单例子观察前向传播各个层输出的size
- Software architecture design - software architecture style
- 建表到页面完整实例演示—联表查询
猜你喜欢
深度学习基础——简单了解meta learning(来自李宏毅课程笔记)
多线程与高并发(3)——synchronized原理
创建二叉树
Development environment EAS login license modification
Gaussian processes of sklearn
一文读懂当前常用的加密技术体系(对称、非对称、信息摘要、数字签名、数字证书、公钥体系)
去噪论文阅读——[CVPR2022]Blind2Unblind: Self-Supervised Image Denoising with Visible Blind Spots
Pytorch学习记录(十二):学习率衰减+正则化
Software architecture design - software architecture style
opensips(1)——安装opensips详细流程
随机推荐
mysql sql优化之Explain
mysql-触发器、存储过程、存储函数
Development environment EAS login license modification
PyQt5学习(一):布局管理+信号和槽关联+菜单栏与工具栏+打包资源包
Pytorch学习记录(三):神经网络的结构+使用Sequential、Module定义模型
手动删除eureka上已经注册的服务
Multithreading and high concurrency (1) -- basic knowledge of threads (implementation, common methods, state)
Meta annotation (annotation of annotation)
JDBC操作事务
Pyqy5 learning (2): qmainwindow + QWidget + qlabel
io. lettuce. core. RedisCommandExecutionException: ERR wrong number of arguments for ‘auth‘ command
mysql如何将存储的秒转换为日期
MySQL的锁机制
图像恢复论文简记——Uformer: A General U-Shaped Transformer for Image Restoration
ValueError: loaded state dict contains a parameter group that doesn‘t match the size of optimizer‘s
Anaconda installed pyqt5 and pyqt5 tools without designer Exe problem solving
The difference between cookie and session
Ora: 28547 connection to server failed probable Oracle net admin error
多线程与高并发(3)——synchronized原理
你不能访问此共享文件夹,因为你组织的安全策略阻止未经身份验证的来宾访问