inference
inference copied to clipboard
sam2 block
Description
!!! BREAKING CHANGE !!!
Changes API for sam2 with new prompting format, which also allows:
- Box prompts
- Batched prompts which means we can prompt for different objects in the same scene
- SAM2 IN WORKFLOWS
Additionally -- this PR allows
- CPU execution of sam2
- Cuda 11 execution of sam2
Also, this PR puts some workflows on the large runner.
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] This change requires a documentation update
How has this change been tested, please provide a testcase or example of how you tested the change?
Locally, and in integration tests
Any specific deployment considerations
Breaking change to sam2 api
Docs
- [x] Docs updated? What were the changes:
- Updates sam2 docs