Skip to content

Add standalone SAM 3.1 image segmentation entry point - #148

Merged
sunxfancy merged 2 commits into
devfrom
codex/sam31-image-segmentation
Nov 11, 2026
Merged

sunxfancy merged 2 commits into
devfrom
codex/sam31-image-segmentation

Conversation

@sunxfancy

Copy link
Copy Markdown
Owner

Summary

  • Add a standalone SAM 3.1 image segmentation script using text prompts.
  • Export per-instance PNG masks and JSON metadata.
  • Document setup in an isolated official SAM3 environment to avoid changing SSUI's locked Torch/CUDA dependencies.

Validation

  • python3 -m py_compile scripts/sam31_image.py
  • git diff --check

Model inference has not been run because the required SAM 3.1 checkpoint and runtime are unavailable in this workspace. This PR does not add an SSUI workflow node or video tracking.

@sunxfancy
sunxfancy marked this pull request as ready for review November 11, 2026 14:25
@sunxfancy
sunxfancy merged commit ea47953 into dev Nov 11, 2026
9 checks passed
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