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
148 stars 35 forks source link

Optimise clean_crowns #112

Closed ancazugo closed 11 months ago

ancazugo commented 11 months ago

Makes clean_crowns run faster by using a lambda function instead of a loop

PatBall1 commented 11 months ago

Thanks @ancazugo . The isort test is failing. You just need to reorder the loaded libraries and resubmit to your master branch.

PatBall1 commented 11 months ago

Thanks @ancazugo that seems to be working now. Could you provide a bit more information on the level of speedup this provides?