Skip to content

Add SAM3 polygon post-processing for point and box predictions.#1397

Closed
bw4sz wants to merge 2 commits into
weecology:mainfrom
bw4sz:cursor/sam3-polygon-integration
Closed

Add SAM3 polygon post-processing for point and box predictions.#1397
bw4sz wants to merge 2 commits into
weecology:mainfrom
bw4sz:cursor/sam3-polygon-integration

Conversation

@bw4sz
Copy link
Copy Markdown
Collaborator

@bw4sz bw4sz commented Jun 1, 2026

Introduce a dedicated SAM3 wrapper, expose predict_polygons in the main API, add a sam3-polygons CLI workflow, and document/test the two-step prompt-to-polygon flow.

Description

Related Issue(s)

AI-Assisted Development

  • I used AI tools (e.g., GitHub Copilot, ChatGPT, etc.) in developing this PR
  • I understand all the code I'm submitting
  • I have reviewed and validated all AI-generated code

AI tools used (if applicable):

bw4sz and others added 2 commits May 31, 2026 19:58
Introduce a dedicated SAM3 wrapper, expose predict_polygons in the main API, add a sam3-polygons CLI workflow, and document/test the two-step prompt-to-polygon flow.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move masks and scores to CPU before NumPy conversion, and run regression tests on CUDA or MPS when available locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bw4sz bw4sz closed this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant