当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
线性代数学习笔记2-2:向量空间、子空间、最大无关组、基、秩与空间维数
@ApiModel 和 @ApiModelProperty
bgp机房的动态路由和静态路由的区别
rem adaptation
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
小程序(开发必备常识)1
线性代数学习笔记3-2:矩阵乘法的理解
分布式领域最重要的一篇论文,到底讲了什么?
[详解C语言]一文带你玩转C语言小游戏---扫雷
DSPE-PEG-Silane,DSPE-PEG-SIL,磷脂-聚乙二醇-硅烷修饰活性基团
DSPE-PEG-PDP,DSPE-PEG-OPSS,磷脂-聚乙二醇-巯基吡啶供应,MW:5000
3分钟带你了解微信小程序开发
青蛙跳台阶:我如何得知它是一道斐波那契数列题?——应用题破题“三板斧”
ssm各类配置模板
OD-Model【4】:SSD
Debian 10 NTP 服务配置
磷脂-聚乙二醇-靶向新生血管靶向肽APRPG,DSPE-PEG-APRPG
磷脂-聚乙二醇-酰肼,DSPE-PEG-Hydrazide,DSPE-PEG-HZ,MW:5000
数据库操作作业
基本运算符









