当前位置:网站首页>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&#
边栏推荐
- [combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
- 7-3 rental (20 points)
- Zzuli:1047 logarithmic table
- [ue4] material and shader permutation
- How to color ordinary landscape photos, PS tutorial
- 406. 根据身高重建队列
- 关于敏捷的一些概念
- Vs+qt multithreading implementation -- run and movetothread
- 5-1 blocking / non blocking, synchronous / asynchronous
- Adobe Premiere Pro 15.4 has been released. It natively supports Apple M1 and adds the function of speech to text
猜你喜欢
Detailed explanation of four modes of distributed transaction (Seata)
Puzzle (016.3) is inextricably linked
C language to realize mine sweeping
Tonybot Humanoïde Robot Infrared Remote play 0630
Qt—绘制其他东西
tonybot 人形机器人 首次开机 0630
Timecho of Tianmou technology completed an angel round financing of nearly 100 million yuan to create a native timing database of the industrial Internet of things
[ue4] geometry drawing pipeline
Adobe Premiere Pro 15.4 has been released. It natively supports Apple M1 and adds the function of speech to text
[ue4] cascading shadow CSM
随机推荐
Qt—绘制其他东西
My QT learning path -- how qdatetimeedit is empty
[opengl] bone animation blending effect
556. 下一个更大元素 III : 简单构造模拟题
PHP GD image upload bypass
C language STR function
cpu飙升排查方法
QT - draw something else
7-3 count the number of words in a line of text
C # realizes the login interface, and the password asterisk is displayed (hide the input password)
Talking about part of data storage in C language
5.2-5.3
Zzuli:1043 max
[graphics] adaptive shadow map
Creation of data table of Doris' learning notes
[opengl] pre bake using computational shaders
adc128s022 ADC verilog设计实现
Tonybot humanoid robot starts for the first time 0630
Déformation de la chaîne bm83 de niuke (conversion de cas, inversion de chaîne, remplacement de chaîne)
Zzuli:1047 logarithmic table