Repository navigation
v1.5.0
Highlights
- Breaking: FastSAM moved out of SamGeo.
samgeo.fast_samand the[fast]extra are removed, and[all]/[extra]no longer install FastSAM. Installsegment-anything-fast[geo]>=0.1.3and usefrom samgeo_fastsam import SamGeoinstead. See the migration guide (#568). - Faster on older GPUs. SAM 3 and SAM 2 use fp16 instead of emulated bf16 on GPUs older than Ampere (T4, V100, RTX 20 series): about 5x faster for SAM 3 and 3.5x for SAM 2 on a T4, with less memory (#575, #576).
- Text and box prompts together.
SamGeo3.generate_masks_by_boxes(..., prompt="building")combines a text prompt with positive and negative boxes, and accepts boxes drawn on a leafmap map or loaded from a vector file (#578). - SamGeo2 autocast is scoped to each model instead of left on for the whole session, so models on different GPUs no longer change each other's precision (#579).
- 3.3x faster
SamGeo3.save_masks(#564).
What's Changed
- fix(ci): resolve the macOS OpenMP runtime collision by @giswqs in #555
- ci: add Claude code review with a
claude-reviewlabel opt-in by @giswqs in #554 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #550
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #558
- Bump anthropics/claude-code-action from 1.0.223 to 1.0.261 by @dependabot[bot] in #563
- perf(samgeo3): 3.3x faster SamGeo3.save_masks (0.30 wall-time ratio) by @dexhunter in #564
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #567
- Bump anthropics/claude-code-action from 1.0.261 to 1.0.265 by @dependabot[bot] in #566
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #571
- Bump anthropics/claude-code-action from 1.0.265 to 1.0.284 by @dependabot[bot] in #573
- fix(fer): add missing placeholder in DeleteVectorFile error message by @kayaal34 in #574
- Use fp16 instead of bf16 for SAM2 on older GPUs by @kbahl19 in #576
- Allow older GPUs to use fp16 instead of bf16 by @kbahl19 in #575
- fix(samgeo2): scope autocast to each model instead of the session by @giswqs in #579
- feat(samgeo3): combine a text prompt with box prompts by @giswqs in #578
- Separate FastSAM from the SamGeo distribution by @Mavrick-F in #568
- Release v1.5.0 by @giswqs in #581
New Contributors
- @dexhunter made their first contribution in #564
- @kayaal34 made their first contribution in #574
- @kbahl19 made their first contribution in #576
- @Mavrick-F made their first contribution in #568
Full Changelog: v1.4.2...v1.5.0