当前位置:网站首页>Yolov5 advanced 8 format conversion between high and low versions
Yolov5 advanced 8 format conversion between high and low versions
2022-07-03 14:53:00 【Parity nonconservative 4.0】
yolov5 6.0 after pt The weight file has changed , Cannot be on 5.0 pt A mixture of , Lead to the original 5.0 The version often needs to train the data set by itself .
Here is a yolov5 5.0 call newest yolov5 6.0 6.1 Method of weight file .
Directly applicable 6.0 Data sets , perform
python detect.py --source 0
AttributeError: Can’t get attribute ‘SPPF’ on <module ‘models.common’ from ‘D:\PycharmProjects\deepsort3.0\Yolov5_StrongSORT_OSNet-3.0\yolov5\models\common.py’>
Is due to 5.0 No, SPPF class , take 6.0 Of SPPF Class to model Under the common.py And add it to the head import warnings
Continue to execute the above command , Tips
if ‘youtube.com/’ in url or ‘youtu.be/’ in url: # if source is YouTube video
TypeError: argument of type ‘int’ is not iterable
This problem is explained by advanced six , Only need dataset.py in url Turn into str(url), Two consecutive places .
Re execution ,
RuntimeError: The size of tensor a (80) must match the size of tensor b (56) at non-singleton dimension 3
This is the hardest thing to do , This is the function of the new version 2 Dimensional change 3 Vivian , open model Under the yolo.py, Prepare for 6.0 Of yolo.py Partial assignment , Two functions def forward(self, x): and def _make_grid(self, nx=20, ny=20, i&#
边栏推荐
- 关于敏捷的一些概念
- Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
- How to query the baby category of tmall on Taobao
- 4-29——4.32
- Plane vector addition
- C # realizes the login interface, and the password asterisk is displayed (hide the input password)
- Tonybot Humanoïde Robot Infrared Remote play 0630
- [wechat applet] wxss template style
- [opengl] advanced chapter of texture - principle of flowmap
- Output student grades
猜你喜欢

零拷贝底层剖析
![[engine development] rendering architecture and advanced graphics programming](/img/a4/3526a4e0f68e49c1aa5ce23b578781.jpg)
[engine development] rendering architecture and advanced graphics programming

Tonybot humanoid robot checks the port and corresponds to port 0701

Bucket sorting in C language

Puzzle (016.3) is inextricably linked

How can entrepreneurial teams implement agile testing to improve quality and efficiency? Voice network developer entrepreneurship lecture Vol.03

Vs+qt application development, set software icon icon

On MEM series functions of C language
![[ue4] Niagara's indirect draw](/img/8a/576022b5d19e1d6422ff0135c50c93.jpg)
[ue4] Niagara's indirect draw

Puzzle (016.4) domino effect
随机推荐
QT - draw something else
7-9 one way in, two ways out (25 points)
4-33--4-35
2021-10-16 initial programming
1017 a divided by B (20 points)
Zzuli:1055 rabbit reproduction
牛客 BM83 字符串變形(大小寫轉換,字符串反轉,字符串替換)
Some concepts about agile
4-29——4.32
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
Rasterization: a practical implementation (2)
表单文本框的使用(一) 选择文本
Open under vs2019 UI file QT designer flash back problem
Zzuli: cumulative sum of 1050 factorials
556. 下一个更大元素 III : 简单构造模拟题
[engine development] in depth GPU and rendering optimization (basic)
Detailed explanation of four modes of distributed transaction (Seata)
NOI OPENJUDGE 1.5(23)
【7.3】146. LRU caching mechanism
adc128s022 ADC verilog设计实现