Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问数据集格式? #14

Open
bigdoubi opened this issue May 26, 2021 · 10 comments
Open

请问数据集格式? #14

bigdoubi opened this issue May 26, 2021 · 10 comments

Comments

@bigdoubi
Copy link

一直如下报错..
labels, shapes, self.segments = zip(*cache.values())
ValueError: not enough values to unpack (expected 3, got 0)
不知能否参考以下整个工程?

@zhoushuang66
Copy link

检查关键点是否为5个

@bigdoubi
Copy link
Author

我的格式是在yolov5数据集的后面加了10个0-1的数字,请问这样是否标准..?

@xialuxi
Copy link
Owner

xialuxi commented May 27, 2021

新版本yolov5代码, 数据读取改动较大,请参考:https://github.com/xialuxi/yolov5-car-plate

@bigdoubi
Copy link
Author

感谢 已经能够训练了,但训练出的结果不是很好...还是想问一下
https://github.com/xialuxi/yolov5-car-plate 这个项目中,单个图片的数据集格式是一行13个数字,如下格式吗?
第1个数字是类别(0\1\2)
第2至5个数字是框的中心点坐标和长宽(归一化,范围0-1)
第6至13个数字是四个点的归一化坐标

@zhoushuang66
Copy link

对的

@CompliceU
Copy link

@bigdoubi 我也遇到了你这个问题,不知道是这么解决的

@CompliceU
Copy link

@bigdoubi 你好,可以交流一下吗

1 similar comment
@CompliceU
Copy link

@bigdoubi 你好,可以交流一下吗

@Hezhexi2002
Copy link

感谢 已经能够训练了,但训练出的结果不是很好...还是想问一下
https://github.com/xialuxi/yolov5-car-plate 这个项目中,单个图片的数据集格式是一行13个数字,如下格式吗?
第1个数字是类别(0\1\2)
第2至5个数字是框的中心点坐标和长宽(归一化,范围0-1)
第6至13个数字是四个点的归一化坐标

请问可以只用四个点的归一化坐标吗,就是第一个数字是类别,后面八个数字是四个点的归一化坐标,是不是需要改一改dataloader还有loss那些?

@Kkaif
Copy link

Kkaif commented Aug 24, 2022

感谢 已经能够训练了,但训练出的结果不是很好...还是想问一下 在 https://github.com/xialuxi/yolov5-car-plate 这个项目中,单个图片的数据集格式是一行13个数字,如下格式吗? 第1个数字是类别(0\1\2) 第2至5个数字是框的中心点坐标和长宽(归一化,范围0-1) 第6至13个数字是四个点的归一化坐标

请问有json转yolo格式代码吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants