Closed 18804601171 closed 4 years ago
@yijingru 那怎么能让检测结果是正常的旋转矩形呢,因为我训练完dota后,测试的时候,我看检测的可视化里检测框基本都是正常的旋转矩形呢
Because dota is from cropped images, whose aspect ratio is 1. You may pad zero to the input images to keep the aspect ratio and make the transformation of the rectangle to be rigid. But in this way, you may sacrifice either computation or resolution.
@18804601171我也遇到了这个问题,我用自己的数据集没有裁剪成600*600,检测结果也是平行四边形,请问你解决了吗? @yijingru 不太明白你回答的,可以详细说下吗?
图片宽高比的问题,1:1就是矩形
那我应该怎么做才能是矩形呢?
------------------ 原始邮件 ------------------ 发件人: "yijingru/BBAVectors-Oriented-Object-Detection" @.>; 发送时间: 2021年8月21日(星期六) 下午2:37 @.>; @.**@.>; 主题: Re: [yijingru/BBAVectors-Oriented-Object-Detection] 你好,我训练hrsc后,测试的可视化里检测框都是平行四边形,而不是像标签那样的旋转矩形,请问是怎么回事呢 (#41)
图片宽高比的问题,1:1就是矩形
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
It's a result of affine transformation when the output aspect ratio is different from the training images.