当前位置:网站首页>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.
边栏推荐
- getattr()函数解析
- MySQL中JOIN的用法
- AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/yolov5-5.0/models/commo
- 浏览器的工作原理(dns域名服务器,tcp握手,ssl/tls安全协议,关键渲染路径,重绘及回流,防抖和节流)
- [详解C语言]一文带你玩转C语言小游戏---扫雷
- MySQL分组后排序
- 磷脂-聚乙二醇-巯基,DSPE-PEG-Thiol,DSPE-PEG-SH,MW:5000
- subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
- Mysql8.0安装教程
- JJWT工具类
猜你喜欢
[详解C语言]一文带你玩转C语言小游戏---扫雷
@Accessors 注解详解
About cross-domain issues
HCIP-第十一天-MPLS+BGP
分布式领域最重要的一篇论文,到底讲了什么?
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
DSPE-PEG-Silane,DSPE-PEG-SIL,磷脂-聚乙二醇-硅烷修饰活性基团
「PHP基础知识」PHP中对象的使用
DSPE-PEG-PDP,DSPE-PEG-OPSS,磷脂-聚乙二醇-巯基吡啶供应,MW:5000
CV-Model【4】:MobileNet v3
随机推荐
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
RHCSA第二天
3分钟带你了解微信小程序开发
@ApiModel 和 @ApiModelProperty
Good Key, Bad Key (思维,临项交换,经典方法)
跨域问题解决
JSP WebSehll backdoor script
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
Deveco studio 鸿蒙app访问网络详细过程(js)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
LeetCode:746. 使用最小花费爬楼梯【动态规划】
线性代数学习笔记1:何为线性代数
5.nodejs--跨域、CORS、JSONP 、Proxy
@Autowired注解的使用
Keil开发环境安装教程
(forwarded) HashCode summary (2)
MySQL分区表详解
小程序(开发必备常识)1
redis进行持久化时,有新的写操作将如何解决——写时复制
mysql中如何查看表是否被锁