当前位置:网站首页>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.
边栏推荐
- [Remote Control Development Basic Tutorial 3] Crazy Shell Open Source Formation UAV-ADC (Joystick Control)
- (Reposted) The relationship between hashcode and equals
- parser = argparse.ArgumentParser()解析
- MySQL8.0与MySQL5.7差异分析
- Redis笔记进阶篇:万字长文-整理Redis,各种知识点,建议收藏
- @Accessors 注解详解
- MySQL分页查询的5种方法
- (Repost) HashCode Summary (1)
- (转帖)HashCode总结(2)
- Freeswitch操作基本配置
猜你喜欢
随机推荐
Keil development environment installation tutorial
MySQL分页查询的5种方法
getattr()函数解析
HCIP Day 11_MPLS Experiment
@ApiModel 和 @ApiModelProperty
每日练习------有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数
Good Key, Bad Key (思维,临项交换,经典方法)
DOM destruction and reproduction experiment
MySQL中字符串比较大小(日期字符串比较问题)
CV-Model [4]: MobileNet v3
yolov5调用ip摄像头时出现的问题
3分钟带你了解微信小程序开发
PCL—点云数据分割
删库后!除了跑路还能干什么?
JJWT工具类
LeetCode:1161. 最大层内元素和【BFS层序遍历】
Monaco Editor 的基本用法
PowerManagerService灭屏超时流程
一个资深测试工程师面试一来就问我这些题目
第七周复习





![[详解C语言]一文带你玩转C语言小游戏---扫雷](/img/9f/3979ef063f10bd641111aa4f4d8b4e.png)



![OD-Model [4]: SSD](/img/ad/4ffb3e56538aa38b03173d79d9d213.jpg)