会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
返回顶部
欣杰科技
专注深度学习,CV方向。
首页
新随笔
联系
订阅
管理
2023年9月24日
UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.解决办法
摘要: 从 torchvision 0.13开始,加载预训练模型函数的参数从 pretrained = True 改为 weights=预训练模型参数版本 。且旧版本的写法将在未来的torchvision 0.15版本中被Deprecated 。 from torchvision import models
阅读全文
posted @ 2023-09-24 16:56 欣杰科技
阅读(2208)
评论(0)
推荐(0)
公告