Releases: obss/sahi
Releases · obss/sahi
v0.11.36 Hot fix Release
What's Changed
This release torch import error in cli
- release: ✨ sahi version to 0.11.35 in pyproject.toml (#1252) by @onuralpszr in #1252
Full Changelog: 0.11.35...0.11.36
v0.11.35 Release
What's Changed
- Fix currently failing CI by adding a hatch build target by @gboeer in #1245
- refactor: ♻️ improve readability and type hints across codebase by @onuralpszr in #1249
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #1244
- refactor: ♻️ update CI workflow for multi-OS support and improve job naming by @onuralpszr in #1250
- Fix empty bbox because of empty shapely_annotation.multipolygon by @vinnik-dmitry07 in #1140
- Significantly improve postprocessing speed (NMS, NMM, GREEDYNMM) by using STRtree from shapely by @nikvo1 in #1248
- fix: 🐞 add optional dependencies and improve package management in models and late import for torch to fix ci by @onuralpszr in #1251
New Contributors
- @vinnik-dmitry07 made their first contribution in #1140
- @nikvo1 made their first contribution in #1248
Full Changelog: 0.11.34...0.11.35
v0.11.34 Release
What's Changed
- docs: add mkdocs material badge for support by @onuralpszr in #1236
- Fix: Models always loaded on "cuda:0" when working inside subprocesses on multi-GPU setups by @malopez00 in #1230
- refactor: Update category remapping logic to work with immutable categories by @gboeer in #1234
- feat: add support for torchvision Mask R-CNN instance segmentation model by @curtiskennedy in #1238
- refactor: make exif rotation on image read by default and use PIL built-in ImageOps instead by @fcakyon & @onuralpszr in #1239
- build: Bump version from 0.11.33 to 0.11.34 by @fcakyon in #1241
New Contributors
- @malopez00 made their first contribution in #1230
- @curtiskennedy made their first contribution in #1238
Full Changelog: 0.11.33...0.11.34
v0.11.33 Release
What's Changed
- docs: Simplify and improve context7 config by @fcakyon in #1218
- build: Eliminate unnecessary CI workflow triggers by @fcakyon in #1219
- fix: Fix incorrect context7 config structure by @fcakyon in #1220
- refactor: 🧹 improve test and utility code organization by @onuralpszr in #1223
- 👷 Bump actions/checkout from 4 to 5 by @dependabot[bot] in #1229
- fix: 🐛 Update version to 0.11.33 to fix sahi installation in dev by @onuralpszr in #1233
Full Changelog: 0.11.32...0.11.33
v0.11.32
What's Changed
- docs: 📝 Introduce mkdocs-material to sahi project to have documentation page by @onuralpszr in #1210
- 👷 Bump astral-sh/setup-uv from 5 to 6 by @dependabot[bot] in #1211
- fix: 🐞 update deployment branch from 'develop' to 'main' in publish_docs workflow by @onuralpszr in #1212
- docs: 📝 Introduce mkdocs-material to sahi project to have documentation page by @onuralpszr in #1213
- Add
DeepWiki
documentation badge inREADME.md
by @RizwanMunawar in #1215 - refactor: 🛠 remove redundant logging imports and centralize logger configuration by @onuralpszr in #1214
- update version to 0.11.32 by @fcakyon in #1216
New Contributors
- @onuralpszr made their first contribution in #1210
- @dependabot[bot] made their first contribution in #1211
- @RizwanMunawar made their first contribution in #1215
Full Changelog: 0.11.31...0.11.32
0.11.31
What's Changed
- Make Category immutable and add tests by @gboeer in #1206
- Update docstring for greedy_nmm by @kikefdezl in #1205
- update version by @fcakyon in #1208
New Contributors
- @kikefdezl made their first contribution in #1205
Full Changelog: 0.11.30...0.11.31
0.11.30
SAHI v0.11.30 Release Notes
We're excited to announce SAHI v0.11.30 with improved performance tracking, enhanced testing
infrastructure, and better developer experience!
📈 Milestones
- Academic papers citing SAHI reached 400! (#1168)
🚀 Key Updates
Performance & Monitoring
- Fixed postprocess duration tracking in
get_sliced_prediction
- now properly separates slice,
prediction, and postprocess timings for accurate performance monitoring
(#1201) - Thanks @Toprak2!
Framework Updates
- Refactored Ultralytics support with ONNX model support and better compatibility
(#1184) - Updated TorchVision support to latest API (#1182)
- Improved Detectron2 support with better config handling to prevent KeyError issues
(#1116) - Thanks @Arnesh1411! - Added Roboflow framework support for RF-DETR models from the Roboflow Universe
(#1161) - Thanks @nok! - Removed deepsparse integration as the framework is no longer maintained
(#1164)
Testing Infrastructure
- Migrated test suite to pytest (#1187)
- Tests now run faster with better parallel execution
- Extended Python version coverage (3.8, 3.9, 3.10, 3.11, 3.12)
- Updated to more recent PyTorch versions for better compatibility testing
- Improved test organization and maintainability
- Refactored MMDetection tests for better reliability (#1185)
Developer Experience
- Added Context7 MCP integration for AI-assisted development
(#1198)- SAHI's documentation is now indexed in Context7 MCP
- Provides AI coding assistants with up-to-date, version-specific code examples
- Includes llms.txt file for AI-readable documentation
- Check out the Context7 MCP installation
guide to integrate SAHI docs with your AI
workflow
🛠️ Improvements
Code Quality & Safety
- Immutable bounding boxes for thread-safe operations (#1194,
#1191) - Thanks @gboeer! - Enhanced type hints and docstrings throughout the codebase
(#1195) - Thanks @gboeer! - Overloaded operators for prediction scores enabling intuitive score comparisons
(#1190) - Thanks @gboeer! - PyTorch is now a soft dependency improving flexibility
(#1162) - Thanks @ducviet00!
Infrastructure & Stability
- Improved dependency management and documentation (#1183)
- Enhanced pyproject.toml configuration for better package management
(#1181) - Optimized CI/CD workflows for MMDetection tests (#1186)
🐛 Bug Fixes
- Fixed CUDA device selection to support devices other than cuda:0
(#1158) - Thanks @0xf21! - Corrected parameter naming from 'confidence' to 'threshold' for consistency
(#1180) - Thanks @nok! - Fixed regex string formatting in device selection function
(#1165) - Resolved torch import errors when PyTorch is not installed
(#1172) - Thanks @ducviet00! - Fixed model instantiation issues with
AutoDetectionModel.from_pretrained
(#1158)
📦 Dependencies
- Updated OpenCV packages from 4.10.0.84 to 4.11.0.86 (#1171) -
Thanks @ducviet00-h2! - Removed unmaintained matplotlib-stubs dependency (#1169)
- Cleaned up unused configuration files (#1199)
📚 Documentation
- Added context7.json for better AI tool integration (#1200)
- Updated README with new contributors (#1175,
#1179) - Added Roboflow+SAHI Colab tutorial link (#1177)
Acknowledgments
Special thanks to all contributors who made this release possible: @nok, @gboeer, @Toprak2, @Arnesh1411,
@0xf21, @ducviet00, @ducviet00-h2, @p-constant, and @fcakyon!
Full Changelog: 0.11.24...0.11.30
0.11.29
0.11.28
What's Changed
- Add overloaded operators for prediction score by @gboeer in #1190
- Improve detectron2 support by @Arnesh1411 in #1116
- Use immutable arguments for bounding boxes by @gboeer in #1191
- update version by @fcakyon in #1192
New Contributors
- @Arnesh1411 made their first contribution in #1116
Full Changelog: 0.11.27...0.11.28
0.11.27
What's Changed
- fix: Update inference method to use 'threshold' instead of 'confidence' by @nok in #1180
- Update README.md by @nok in #1179
- improve pyproject.toml by @fcakyon in #1181
- Refactor dependency management and some docs by @fcakyon in #1183
- update: refactor ultralytics support by @fcakyon in #1184
- Refactor mmdet tests by @fcakyon in #1185
- update torchvision support to latest api by @fcakyon in #1182
- optimize mmdet workflow trigger condition by @fcakyon in #1186
- Migrate tests to pytest by @fcakyon in #1187
- update version by @fcakyon in #1188
Full Changelog: 0.11.26...0.11.27