当前位置:网站首页>AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
2022-07-26 18:10:00 【知道的都知道 不知道的慢慢了解】
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
在运行yolov5-6.1 detect.py测试时,出现下面错误:
这是anaconda环境配置出错
点击报错里的红色部分, Ctrl+单击打开
把红色长框里的这句代码注释掉,上一句的最后删掉逗号,加上后括号
就完成了!
再次运行detect.py文件
参考链接
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘报错处理
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
边栏推荐
猜你喜欢

J2 Redis之 AOF&RDB

一些时序建模策略(一)

指标和标签是做什么的

MySQL - multi table query and case explanation

The inventory of chips in the United States is high, and the shipment of chips in China has increased rapidly and the import of 28.3 billion chips has been greatly reduced. TSMC has a showdown

数据湖--概念、特征、架构与案例概述

MySQL - 函数及约束命令
密码一致,总显示如下图

I'm cool, so I'm here

分布式事务-seata
随机推荐
.Net CLR GC 动态加载短暂堆阈值的计算及阈值超量的计算
ReentrantLock学习之---基本属性
2022 welder (elementary) operation certificate examination question bank and simulation examination
Model definition pytorch learning
[postgraduate entrance examination vocabulary training camp] day 13 - reliance, expert, subject, unconscious, photograph, exaggeration, counter act
[AUTOSAR RTE] - 1-talk about RTE (run time environment)
ZbxTable 2.0 重磅发布!6大主要优化功能!
当前占位,之后再写
In this competition, you who can understand the topic have great potential
MySQL - function and constraint commands
Unity 农场 2 —— 种植系统
LeetCode简单题之第一个出现两次的字母
MySQL - multi table query and case explanation
PMP每日一练 | 考试不迷路-7.26(包含敏捷+多选)
JS map usage
如果密钥忘记,多个设备分别不同的密钥,云端是如何同步
.net CLR GC dynamic loading transient heap threshold calculation and threshold excess calculation
最后一篇博客
模型定义#pytorch学习
The role of @requestmapping in the project and how to use it