toandaominh1997 / EfficientDet.Pytorch

Implementation EfficientDet: Scalable and Efficient Object Detection in PyTorch
MIT License
1.44k stars 306 forks source link

BBox Scaling #98

Open AldusLorde opened 4 years ago

AldusLorde commented 4 years ago

Hi! Thank you for a great implementation. I noticed one strange thing: Albumentation's Resize doesn't scale a bbox. It's written (the source code documentation) that the bbox is scale invariant. According to it, Resize works correctly only if bbox is normalized (or BboxParams has format 'albumentation'). According to your code, you didn't use normalized bbox while using Resize/Scale. Is it intentionally ?