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

关于测试标签 #20

Open
Snowbluerose opened this issue Nov 28, 2023 · 6 comments
Open

关于测试标签 #20

Snowbluerose opened this issue Nov 28, 2023 · 6 comments

Comments

@Snowbluerose
Copy link

老师学长您好:
请问咱们这个网络在test或者detect中能不能生成标签啊,就是我想不仅要识别还想要定位。
感谢老师学长的解答

@WindVChen
Copy link
Owner

哈喽 @Snowbluerose

如果指的是给输入图片打标签的话,可以利用--save-txt参数把预测的标签存下来。

@Snowbluerose
Copy link
Author

还想问一下咱们给训练集打标签用的是什么软件,感谢老师学长

@WindVChen
Copy link
Owner

我们是自己写了一个python打标程序,你也可以采用labelme来快速打标

@Snowbluerose
Copy link
Author

谢谢老师学长,我还想请教一下,咱们这个标签的坐标数据好像不是像素坐标,是归一化之后的吗?想问一下怎么归一化的,我是个python小白,看不太懂程序

@WindVChen
Copy link
Owner

标签格式对标的是YOLOv5的标签格式 (class_id center_x center_y width height),可以参考下图,以及YOLOv5的官方手册介绍

image

@Snowbluerose
Copy link
Author

懂了,谢谢老师学长~

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

2 participants