jbwang1997 / OBBDetection

OBBDetection is an oriented object detection library, which is based on MMdetection.
Apache License 2.0
525 stars 112 forks source link

anchor大小调整 一些问题 #44

Closed czy341181 closed 2 years ago

czy341181 commented 2 years ago
    tensor([[-22.6274, -11.3137,  22.6274,  11.3137],
            [-16.0000, -16.0000,  16.0000,  16.0000],
            [-11.3137, -22.6274,  11.3137,  22.6274]])
    tensor([[-45.2548, -22.6274,  45.2548,  22.6274],
            [-32.0000, -32.0000,  32.0000,  32.0000],
            [-22.6274, -45.2548,  22.6274,  45.2548]])
    tensor([[-90.5097, -45.2548,  90.5097,  45.2548],
            [-64.0000, -64.0000,  64.0000,  64.0000],
            [-45.2548, -90.5097,  45.2548,  90.5097]])
    tensor([[-181.0193,  -90.5097,  181.0193,   90.5097],
            [-128.0000, -128.0000,  128.0000,  128.0000],
            [ -90.5097, -181.0193,   90.5097,  181.0193]])
    tensor([[-362.0387, -181.0193,  362.0387,  181.0193],
            [-256.0000, -256.0000,  256.0000,  256.0000],
            [-181.0193, -362.0387,  181.0193,  362.0387]]

1.五个尺度的anchor都是相对于原尺度的吧?不同尺度的feature是分别负责不同大小的gt吗?还是都每层统一分配所有的gt?

  1. 请问作者有试过针对DOTA数据集修改不同的anchor大小吗?
jbwang1997 commented 2 years ago

这个会保持和原始模型一样,如果根据不同数据集来设计的话效果会上升。