Pooler
如何将anchors的box映射到对应的feature map level上?因为box scale是按照feature map level分配大小的,所以可以根据box的size来认为它属于某个level,通过torch.log2遍历,依次映射
scale[0.25,0.125,0.0625,0.03125] --->[2.0......5.0]
map_levels(box)->[0...1....2...3]
Pooler
如何将anchors的box映射到对应的feature map level上?因为box scale是按照feature map level分配大小的,所以可以根据box的size来认为它属于某个level,通过torch.log2遍历,依次映射
scale[0.25,0.125,0.0625,0.03125] --->[2.0......5.0]
map_levels(box)->[0...1....2...3]