ReDet
ReDet copied to clipboard
关于DOTA2COCO.py的问题?
请问一下,您在DOTA2COCO.py这个文件中,计算了x_min, y_min,x_max,y_max.我没看到关于angle的信息啊?那OBB-detection如何学习角度呢?还有就是,在数据prepare的时候,难道不用删除没有object的图片和txt吗?
谢谢
数据里旋转bbox由polygon表示,在模型内会转成(x,y,w,h,a) https://github.com/csuhan/ReDet/blob/0b9addf3c2734659fd6ffc7824f2e659fde4419c/DOTA_devkit/DOTA2COCO.py#L58 prepare时,empty image的anotation是空的。
数据里旋转bbox由polygon表示,在模型内会转成(x,y,w,h,a) https://github.com/csuhan/ReDet/blob/0b9addf3c2734659fd6ffc7824f2e659fde4419c/DOTA_devkit/DOTA2COCO.py#L58
prepare时,empty image的anotation是空的。
当annotation为空的时候,训练时,模型会自动跳过吗?
在生成annotation时会过滤掉空样本
The rotation of the bbox in the data is represented by polygon, which will be converted to (x, y, w, h, a) in the model.
https://github.com/csuhan/ReDet/blob/0b9addf3c2734659fd6ffc7824f2e659fde4419c/DOTA_devkit/DOTA2COCO.py#L58
When preparing, the anotation of the empty image is empty.
@csuhan In regression loss calculation, are the prediction and target boxes in this form (x, y, w, h, a) ?
And also, how did you define the angle a
If possible, can you give example of the angle definition? Thanks!