tianrun-chen/SAM-Adapter-PyTorch
Adapting Meta AI's Segment Anything to Downstream Tasks with Adapters and Prompts observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 82
- Release rhythm 35
- Longevity 88
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1237
- days_rel: n/a
- days_push: 108
- n_releases_24m: 0
Adoption not part of the score
1551 stars · 123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PyTorch library that adapts Meta AI's Segment Anything Model (SAM, SAM2, SAM3) to underperforming downstream segmentation tasks using lightweight adapters and prompts. It provides training and evaluation pipelines for tasks like camouflaged object detection, shadow detection, and medical image segmentation.
Use cases
- fine-tune segment anything model on my own dataset
- segment camouflaged objects in images
- adapt SAM for medical image segmentation
- polyp segmentation from endoscopy images
- shadow detection with segment anything
- train SAM adapter with distributed training on multiple GPUs
- use SAM2 or SAM3 backbone for downstream segmentation
When to choose
- you need to adapt SAM/SAM2/SAM3 to a specialized segmentation domain where the base model underperforms
- you want a lightweight adapter-based fine-tuning approach instead of full model retraining
- you work on camouflaged object detection, shadow removal, or medical segmentation tasks
When to avoid
- you only need general-purpose promptable segmentation without domain adaptation
- you lack access to high-memory GPUs, since training requires multiple large-memory cards
- you need a production-ready inference service rather than a research codebase
Facets
library · maturity active
machine-learning deep-learning image-processing computer-vision computer-vision image-processing machine-learning deep-learning python segment-anything sam-adapter fine-tuning image-segmentation camouflaged-object-detection medical-imaging pytorch iccv-2023 gpu
1 source
- readme: https://github.com/tianrun-chen/SAM-Adapter-PyTorch · fetched 2026-08-28 · 0efa8aa2c69a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tianrun-chen/SAM-Adapter-PyTorch | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="tianrun-chen/SAM-Adapter-PyTorch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem