aim-uofa / AdelaiDet

AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
https://git.io/AdelaiDet
Other
3.38k stars 650 forks source link

Question on aligned_bilinear funciton #218

Closed hust-nj closed 3 years ago

hust-nj commented 4 years ago

https://github.com/aim-uofa/AdelaiDet/blob/0157227f966eda93c1299a402537b616207ba226/adet/utils/comm.py#L17-L39

What is the benefit of the complecated aligned_bilinear function? Why do we need the padding not only use F.interpolate function with mode align_corners=True?

valencebond commented 3 years ago

I am also confused about the benefit of aligned_bilinear function

zzq96 commented 3 years ago

hi, i am confused ,too. have you got it?

Yuxin-CV commented 3 years ago

The following two links might be helpful:

https://github.com/tensorflow/tensorflow/issues/6720#issuecomment-528820991 https://zhuanlan.zhihu.com/p/87572724 (Chinese)

hust-nj commented 3 years ago

The following two links might be helpful:

tensorflow/tensorflow#6720 (comment) https://zhuanlan.zhihu.com/p/87572724 (Chinese)

Nice explanation! Thank you!