当前位置:网站首页>AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
2022-08-02 03:32:00 【woshicaiji12138】
The problem occurred when running detect.py of yolv5-5.0:


Modification method:

1Open the link in the red circle above
2
Comment recompute_scale_factor=self.recompute_scale_factor)
Change the comma after self.align_corners to a closing bracket

Run again, success.
边栏推荐
猜你喜欢

脚手架安装

oracle内连接和外连接

周日数据库作业

JVM学习----垃圾回收--G1

DSPE-PEG-PDP,DSPE-PEG-OPSS,磷脂-聚乙二醇-巯基吡啶供应,MW:5000

HCIP Day 11_MPLS Experiment

【程序人生】做了多年的运维,靠什么转行拿下12K+年终奖的薪资?

Daily practice------There are n integers, so that the previous numbers are moved back m positions in order, and the last m numbers become the first m numbers

云服务器安装部署Nacos2.0.4版本

MySQL分区表详解
随机推荐
(转帖)HashCode总结(1)
SOCKS5
mysql中json类型字段用法
【面经】米哈游数据开发一面二面面经
Freeswitch操作基本配置
DSPE-PEG-Silane,DSPE-PEG-SIL,磷脂-聚乙二醇-硅烷修饰活性基团
我的两周年创作纪念日
脚手架安装
知识问答与知识会话的区别
RHCSA第二天
[详解C语言]一文带你玩转C语言小游戏---扫雷
科研试剂DMPE-PEG-Mal 二肉豆蔻酰磷脂酰乙醇胺-聚乙二醇-马来酰亚胺
oracle内连接和外连接
【C语言万字长文】 宏定义 结构体 共用体 内存对齐知识点总结
小程序(开发必备常识)1
MySQL两阶段提交串讲
ssm各类配置模板
(转帖)hashcode和equals的关系
debian 10 nat 与路由转发
(Reposted) The relationship between hashcode and equals