当前位置:网站首页>三、标签准备
三、标签准备
2022-04-21 12:41:00 【beyond谚语】
所有操作均在anaconda中的自己配置的环境下进行
一、安装labelimg
因为YOLO模型所需要的样本标签必须是txt类型,本人使用labelimg软件进行对图像进行打标签操作。
pip install pycocotools-windows
pip install pyqt5
pip install labelimg



通过labelimg命令打开labelimg,此时labelimg就已经打开了。

二、labelimg的使用
Ⅰ,创建标准格式
train为训练集:平常刷题
val为验证集:期中期末考试

例如这是我的训练集数据:
Ⅱ,需要选择YOLO模式

Ⅲ,找到所需要打标签的图像路径

Ⅳ,点击Create RectBox进行标记



此时分成了两类

这里进行上下换图片
Ⅴ,保存到对应的labels下

Ⅵ,查看信息

这里的bus.txt就是训练图像bus.jpg所对应的标签,这里会多生成一个classes.txt存放刚才设置的几种类别,刚才我设置的是people和bus。

bus.txt存放的就是刚才我框起来的连个样本的框的位置两个点就能确定一个框

0和1分别与classes.txt中的类别相对应,0为people,1为bus。
版权声明
本文为[beyond谚语]所创,转载请带上原文链接,感谢
https://beyondyanyu.blog.csdn.net/article/details/124318546
边栏推荐
- Web--用户注册界面
- Reverse crawler 30 verification code of a fourth generation slider
- Machine learning - sklearn-12 (regression family - upper - multiple linear regression, ridge regression, Lasso) (solve multiple collinearity)
- Share some Chrome browser plug-ins I use frequently, each of which is easy to use
- 阿里天池比赛——街景字符编码识别
- Validation数据校验注解
- Finally someone made it clear! It turns out that this is the global one-piece network technology with low delay
- Donetsk armed forces: 127 residents evacuated to a safe place from the area near the Asian speed steel plant
- mysql数据库操作语句练习
- Validation data validation annotation
猜你喜欢

Reverse crawler 30 verification code of a fourth generation slider

Package rpart of decision regression tree implemented by R language

一文了解全面静态代码分析

Detailed explanation of chrome developer tools I
![[dark horse morning post] Tao Hong paid 260 million dividends from Zhangting MLM company in three years; Yiling pharmaceutical replied to Lianhua Qingwen dispute: the case has been reported; Tencent v](/img/d7/4671b5a74317a8f87ffd36be2b34e1.jpg)
[dark horse morning post] Tao Hong paid 260 million dividends from Zhangting MLM company in three years; Yiling pharmaceutical replied to Lianhua Qingwen dispute: the case has been reported; Tencent v
2020batjz Android Senior Engineer Interview Questions - multiple choice questions collection (with answer analysis)

How does electron net send a post request

逆波兰表达式

Call for Papers | IEEE/IAPR IJCB 2022 会议
![[linked list] 148 Sort linked list](/img/1a/7f0c00af9d14ac0f7f011c4b4641a1.png)
[linked list] 148 Sort linked list
随机推荐
CV技术指南免费版知识星球
[thesis study] Yolo V2
弹性架构内容和成本探讨-数字化架构设计(3)
只出现一次的数字 II(哈希、位操作、逻辑电路、有限状态自动机)
Title record of TIANTI competition (II)
常见的8个概率分布公式和可视化
打包的jar能正常运行,正常连接数据库。exe4j生成exe后执行到访问数据库就报错:
2020batjz Android Senior Engineer Interview Questions - multiple choice questions collection (with answer analysis)
最佳实践 | 通过使用 Jira Service Management 改进 HR 工作流程
Musk lives in the old Internet age?
open-mmlab / mmpose安装、使用教程
Who does the team listen to
Machine learning-sklearn-13 (regression family - lower - nonlinear problem: polynomial regression (a new characteristic matrix is formed after polynomial transformation))
[BSidesCF 2019]Kookie
Aicoco AI frontier promotion (4.21)
Notepad + + how to copy multiple lines and paste them to the corresponding position
2022年初级会计职称考试会计实务练习题及答案
高并发IO的底层原理
Jsapi payment is missing appid
A comprehensive understanding of static code analysis