当前位置:网站首页>YoloV6:YoloV6+Win10---训练自己得数据集
YoloV6:YoloV6+Win10---训练自己得数据集
2022-07-07 17:53:00 【Mr曲末寒】
yolov6刚出来得那会我也跑了下,问题实在太多了,各种得bug,就暂时停了会,后面有时间了在看看就重新git下跑了跑。据说YoloV7也出来是AB大神团队出品得,不是某个人所谓得YoloV7....
1、数据集
我用的是自己得数据集,先看下数据集格式吧。
val和train存放得是图片,labels存放的是train val文件夹,里面放的是txt



同时在查看下配置文件,我的数据集 只有两个类别

此处还要改下dataset.py里面得一处;
2、训练
训练命令:
python tools/train.py --batch 6 --conf configs/yolov6s_finetune.py --data data/MyDataCoCo.yaml --device 0 --epochs 800 --workers 0我是在自己本机训练的,所以bs设置得小点
训练结束,大家看到,map不为0了,那是我们使用得是yolov6s_finetune.py 如果大家使用的是yolov6s.py,相当于没有加载与训练模型,具体大家可以去Yolov6的github issues去看看。
https://github.com/meituan/YOLOv6/issues/205#issuecomment-1173409870

800轮训练时间将近19个小时。。。。。。。。。
3、测试
测试代码:
python tools/infer.py --weights runs/train/exp/weights/best_ckpt.pt --source CiWaData/val --yaml data/MyDataCoCo.yaml测试结果:


4、ONNX导出
导出命令:
export_onnx.py --weights runs/train/exp/weights/best_ckpt.pt --img 640 --batch 1 
边栏推荐
- Matplotlib drawing 3D graphics
- Specify the version of OpenCV non-standard installation
- LC:字符串转换整数 (atoi) + 外观数列 + 最长公共前缀
- Kirin Xin'an cloud platform is newly upgraded!
- IP tools
- R language ggplot2 visualization: use the ggqqplot function of ggpubr package to visualize the QQ graph (Quantitative quantitative plot)
- 一锅乱炖,npm、yarn cnpm常用命令合集
- pom.xml 配置文件标签作用简述
- mock. JS returns an array from the optional data in the object array
- 国家网信办公布《数据出境安全评估办法》:累计向境外提供10万人信息需申报
猜你喜欢

论文解读(ValidUtil)《Rethinking the Setting of Semi-supervised Learning on Graphs》

微信公众号OAuth2.0授权登录并显示用户信息

【STL】vector

爬虫实战(七):爬王者英雄图片

九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」

mock.js从对象数组中任选数据返回一个数组

9 atomic operation class 18 Rohan enhancement
![[RT thread env tool installation]](/img/bc/9b39651d40a240f0893200793f67e9.png)
[RT thread env tool installation]

多个线程之间如何协同

Classification automatique des cellules de modules photovoltaïques par défaut dans les images de lecture électronique - notes de lecture de thèse
随机推荐
网信办公布《数据出境安全评估办法》,9 月 1 日起施行
Leetcode force buckle (Sword finger offer 36-39) 36 Binary search tree and bidirectional linked list 37 Serialize binary tree 38 Arrangement of strings 39 Numbers that appear more than half of the tim
谷歌seo外链Backlinks研究工具推荐
R语言ggplot2可视化:使用ggpubr包的ggqqplot函数可视化QQ图(Quantile-Quantile plot)
Dynamic addition of El upload upload component; El upload dynamically uploads files; El upload distinguishes which component uploads the file.
J ü rgen schmidhub reviews the 25th anniversary of LSTM papers: long short term memory All computable metaverses. Hierarchical reinforcement learning (RL). Meta-RL. Abstractions in generative adversar
注解。。。
【Confluence】JVM内存调整
tp6 实现佣金排行榜
Empowering smart power construction | Kirin Xin'an high availability cluster management system to ensure the continuity of users' key businesses
一锅乱炖,npm、yarn cnpm常用命令合集
Matplotlib drawing 3D graphics
Specify the version of OpenCV non-standard installation
The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
Make insurance more "safe"! Kirin Xin'an one cloud multi-core cloud desktop won the bid of China Life Insurance, helping the innovation and development of financial and insurance information technolog
浏览积分设置的目的
How to open an account for stock speculation? Excuse me, is it safe to open a stock account by mobile phone?
LeetCode_ 7_ five
PMP對工作有益嗎?怎麼選擇靠譜平臺讓備考更省心省力!!!
Some arrangements about oneself
https://github.com/meituan/YOLOv6