-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
输入矩形图片时检测框偏移 #30
Labels
question
Further information is requested
Comments
是指矩形输入训练吗 |
是的,输入正方形的图就没问题,但是输出矩形图时就会出现和之前知乎大佬一样的问题就是预测框和batch0/1/2中的标注框都会被拉长
…------------------ 原始邮件 ------------------
发件人: "acai66/yolov5_rotation" ***@***.***>;
发送时间: 2021年12月28日(星期二) 上午9:18
***@***.***>;
***@***.******@***.***>;
主题: Re: [acai66/yolov5_rotation] 输入矩形图片时检测框偏移 (Issue #30)
是指矩形输入训练吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
直接用矩形原图,训练时网络输入尺寸用正方形,不影响最终的部署推理。 |
好吧我刚才描述的不清楚。就是如果我用正方形的图片送入网络训练就没有问题,但是当我改成矩形的图片送入网络的时候标注框以及最终的检测框就会被拉扁,你之前说了代码改进后可以输入矩形了所以我没有很仔细的看您的代码,所以我也不知道你在矩形图片送入网络变成正方形的过程中有没有对标签数据也进行处理,导致了最后检测的时候检测框是扁的。 |
确保你的数据集标签是正确的就行,可以用原始xml标注格式的软件labelimg2、rolabelimg查看。 |
好的我有空试试谢谢作者大大
…------------------ 原始邮件 ------------------
发件人: "acai66/yolov5_rotation" ***@***.***>;
发送时间: 2021年12月28日(星期二) 晚上6:08
***@***.***>;
***@***.******@***.***>;
主题: Re: [acai66/yolov5_rotation] 输入矩形图片时检测框偏移 (Issue #30)
确保你的数据集标签是正确的就行,可以用原始xml标注格式的软件labelimg2、rolabelimg查看。
这个源码自始至终都可以用矩形训练,之前的偏移问题是数据增强时裁剪造成的,现在理论上不会有偏移问题了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
想请问中心点发生了偏离是什么情况?预测框都往目标左上角偏了一点QAQ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Question
Additional
No response
The text was updated successfully, but these errors were encountered: