Open csherwood-usgs opened 2 years ago
After some experimentation, I am pretty sure the assertion error during segmentation occurs if the image has not been "reset" to the original zoom level (and maybe bounds). If you can trigger the "reset" action before starting the segmentation, that might prevent the error. For now, the workaround is to remember to reset if you have been zooming.
Thanks for reporting this error, that indeed looks like a bug.
@csherwood-usgs I haven't been able to reproduce this bug. Do you have more info about as to I could reproduce it? I've tried doodling lines after zooming in and panning out, then triggering the segmentation but I got no error.
I made a few changes today to simplify the app and validate the doodles, maybe they'll help with this issue https://github.com/pyviz-topics/holodoodler/pull/29
@maximlt Hmm. I can't reproduce it now either. If I encounter it again, I will make a video of it.
I get the following when trying to compute segmentation on the third example (
orthomosaic.jpg
), which has no data in lower left quadrant. I did not have any doodles there. I also had done some zooming and panning while doodling.