PatBall1 / detectree2

Python package for automatic tree crown delineation based on the Detectron2 implementation of Mask R-CNN
https://patball1.github.io/detectree2/
MIT License
158 stars 39 forks source link

Understand poor generalisation across image scales #30

Closed PatBall1 closed 1 year ago

PatBall1 commented 2 years ago

Models do not generalise well across image scales. Can this be fixed by adjusting the data augmentation parameters? https://github.com/PatBall1/detectree2/blob/be81a1854959bd400bfd66c7d4f169f9aaafba48/detectree2/models/train.py#L155-L180

PatBall1 commented 2 years ago

I suspect T.Resize((800, 800)) is not helping

PatBall1 commented 2 years ago

See https://detectron2.readthedocs.io/en/latest/modules/data_transforms.html#detectron2.data.transforms.ResizeScale