inference icon indicating copy to clipboard operation
inference copied to clipboard

sam2 block

Open hansent opened this issue 1 year ago • 0 comments

Description

!!! BREAKING CHANGE !!!

Changes API for sam2 with new prompting format, which also allows:

  1. Box prompts
  2. Batched prompts which means we can prompt for different objects in the same scene
  3. SAM2 IN WORKFLOWS

Additionally -- this PR allows

  1. CPU execution of sam2
  2. 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

hansent avatar Aug 05 '24 22:08 hansent