当前位置:网站首页>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 0I 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.yamltest result :


4、ONNX export
Export command :
export_onnx.py --weights runs/train/exp/weights/best_ckpt.pt --img 640 --batch 1 
边栏推荐
- 【剑指offer】剑指 Offer II 012. 左右两边子数组的和相等
- pom. Brief introduction of XML configuration file label function
- CSDN语法说明
- Open source heavy ware! Chapter 9 the open source project of ylarn causal learning of Yunji datacanvas company will be released soon!
- Cuda版本不一致,编译apex报错
- JVM GC garbage collection brief
- Force buckle 599 Minimum index sum of two lists
- Chapter 20 using work queue manager (3)
- Force buckle 599 Minimum index sum of two lists
- Force buckle 459 Duplicate substring
猜你喜欢

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!!!

华南X99平台打鸡血教程

vulnhub之school 1

9 原子操作类之18罗汉增强

Compiler optimization (4): inductive variables

Flink并行度和Slot详解

openEuler 有奖捉虫活动,来参与一下?

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

YoloV6:YoloV6+Win10---训练自己得数据集

PMP對工作有益嗎?怎麼選擇靠譜平臺讓備考更省心省力!!!
随机推荐
Vulnhub tre1
Notes...
Force buckle 1037 Effective boomerang
项目经理『面试八问』,看了等于会了
Force buckle 1232 Dotted line
力扣599. 两个列表的最小索引总和
Force buckle 1961 Check whether the string is an array prefix
Compiler optimization (4): inductive variables
ASP. Net learning & ASP's one word
【剑指offer】剑指 Offer II 012. 左右两边子数组的和相等
Semantic slam source code analysis
【STL】vector
JVM GC垃圾回收简述
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
力扣 912.排序数组
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
Tp6 realize Commission ranking
PMP对工作有益吗?怎么选择靠谱平台让备考更省心省力!!!
力扣 1790. 仅执行一次字符串交换能否使两个字符串相等
Ucloud is a basic cloud computing service provider
https://github.com/meituan/YOLOv6