当前位置:网站首页>Yolov6:yolov6+win10--- train your own dataset
Yolov6:yolov6+win10--- train your own dataset
2022-07-07 20:06:00 【Mr Qu Mo Han】
yolov6 I also ran at the meeting when I just came out , There are too many problems , All kinds of bug, Just stop for a while , There's time later. Just look at it and start again git Run down . It is said that YoloV7 It also comes out AB The great God team produced , It's not what someone calls YoloV7....
1、 Data sets
I use my own dataset , Let's take a look at the data set format first .
val and train Store pictures ,labels Deposit is train val Folder , It's in there txt
At the same time, check the configuration file , My dataset There are only two categories
Here we need to change dataset.py There must be a place inside ;
2、 Training
Training orders :
python tools/train.py --batch 6 --conf configs/yolov6s_finetune.py --data data/MyDataCoCo.yaml --device 0 --epochs 800 --workers 0
I trained on my own machine , therefore bs Set it down
End of training , We see ,map Not for 0 了 , That's what we use yolov6s_finetune.py If you use yolov6s.py, Equivalent to no loading and training model , You can go to Yolov6 Of github issues Go to see .
https://github.com/meituan/YOLOv6/issues/205#issuecomment-1173409870
800 Round training time is approaching 19 Hours .........
3、 test
Test code :
python tools/infer.py --weights runs/train/exp/weights/best_ckpt.pt --source CiWaData/val --yaml data/MyDataCoCo.yaml
test result :
4、ONNX export
Export command :
export_onnx.py --weights runs/train/exp/weights/best_ckpt.pt --img 640 --batch 1
边栏推荐
- Introduction to bit operation
- 力扣 989. 数组形式的整数加法
- Compiler optimization (4): inductive variables
- 【STL】vector
- Force buckle 674 Longest continuous increasing sequence
- JVM 类加载机制
- 9 atomic operation class 18 Rohan enhancement
- Force buckle 2315 Statistical asterisk
- Simulate the implementation of string class
- A pot of stew, a collection of common commands of NPM and yarn cnpm
猜你喜欢
干货分享|DevExpress v22.1原版帮助文档下载集合
Open source heavy ware! Chapter 9 the open source project of ylarn causal learning of Yunji datacanvas company will be released soon!
openEuler 有奖捉虫活动,来参与一下?
Navicat连接2002 - Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘解决
Detailed explanation of Flink parallelism and slot
使用高斯Redis实现二级索引
最多可以参加的会议数目[贪心 + 优先队列]
vulnhub之school 1
剑指 Offer II 013. 二维子矩阵的和
Introduction to bit operation
随机推荐
Ucloud is a basic cloud computing service provider
Is PMP beneficial to work? How to choose a reliable platform to make it easier to prepare for the exam!!!
Semantic slam source code analysis
R language dplyr package mutate_ At function and min_ The rank function calculates the sorting sequence number value and ranking value of the specified data column in the dataframe, and assigns the ra
Some important knowledge of MySQL
Simulate the implementation of string class
[RT thread env tool installation]
PMP practice once a day | don't get lost in the exam -7.7
JVM GC garbage collection brief
Introduction to bit operation
My creation anniversary
使用高斯Redis实现二级索引
Navicat连接2002 - Can‘t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock‘解决
Dynamic addition of El upload upload component; El upload dynamically uploads files; El upload distinguishes which component uploads the file.
Force buckle 2315 Statistical asterisk
ASP.NET学习& asp‘s one word
vulnhub之tre1
Kubernetes——kubectl命令行工具用法详解
Cloud 组件发展升级
强化学习-学习笔记8 | Q-learning