当前位置:网站首页>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
边栏推荐
- 银行理财产品怎么买?需要办银行卡吗?
- mock. JS returns an array from the optional data in the object array
- Visual Studio 插件之CodeMaid自动整理代码
- gorilla官方:golang开websocket client的示例代码
- openEuler 资源利用率提升之道 01:概论
- R language dplyr package select function, group_ The by function, filter function and do function obtain the third largest value of a specific numerical data column in a specified level in a specified
- Mysql, sqlserver Oracle database connection mode
- [Verilog advanced challenge of Niuke network question brushing series] ~ multi bit MUX synchronizer
- Install mysql8 for Linux X ultra detailed graphic tutorial
- 一张图深入的理解FP/FN/Precision/Recall
猜你喜欢
The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
关于ssh登录时卡顿30s左右的问题调试处理
RESTAPI 版本控制策略【eolink 翻译】
openEuler 有奖捉虫活动,来参与一下?
谷歌seo外链Backlinks研究工具推荐
九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
Automatic classification of defective photovoltaic module cells in electroluminescence images-论文阅读笔记
openEuler 资源利用率提升之道 01:概论
Kunpeng developer summit 2022 | Kirin Xin'an and Kunpeng jointly build a new ecosystem of computing industry
PMP practice once a day | don't get lost in the exam -7.7
随机推荐
AD域组策略管理
Semantic SLAM源码解析
R language dplyr package select function, group_ The by function, filter function and do function obtain the third largest value of a specific numerical data column in a specified level in a specified
Time tools
Le PGR est - il utile au travail? Comment choisir une plate - forme fiable pour économiser le cœur et la main - d'œuvre lors de la préparation de l'examen!!!
Install mysql8 for Linux X ultra detailed graphic tutorial
爬虫实战(七):爬王者英雄图片
[sword finger offer] sword finger offer II 012 The sum of left and right subarrays is equal
R language ggplot2 visualization: use the ggecdf function of ggpubr package to visualize the grouping experience cumulative density distribution function curve, and the linetype parameter to specify t
关于自身的一些安排
微信公众号OAuth2.0授权登录并显示用户信息
R language ggplot2 visualization: use the ggstripchart function of ggpubr package to visualize the dot strip plot, set the position parameter, and configure the separation degree of different grouped
指定opencv非标准安装的版本
国家网信办公布《数据出境安全评估办法》:累计向境外提供10万人信息需申报
how to prove compiler‘s correctness
Netease Yunxin participated in the preparation of the standard "real time audio and video service (RTC) basic capability requirements and evaluation methods" issued by the Chinese Academy of Communica
Training IX basic configuration of network services
Kirin Xin'an cloud platform is newly upgraded!
CSDN语法说明
PMP practice once a day | don't get lost in the exam -7.7