supervision
supervision copied to clipboard
Feat/inference slicer segmentation
Description
Prerequisites:
- #1177
This allows the slicer to merge segmentation masks.
Previously it would fail when attempting to stack slices of different sizes, as there'd be no attempts to move & pad the slices. The result is that each mask would be of size(slice), rather than size(image).
Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] This change requires a documentation update
How has this change been tested, please provide a testcase or example of how you tested the change?
Same notebook as for prior PR. :notebook: Google Colab
Any specific deployment considerations
- Non-max suppression wrecks the visuals for large images. Best way to test would be to merge the PRs adding Non-max merging & slicer filter selector, and then test with
NONE. - It takes a lot of RAM and time, even for a small model. High-RAM env in Colab is needed.
Docs
- [ ] Docs updated? What were the changes: