Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: obss/sahi

v0.11.36 Hot fix Release

28 Sep 22:20
0.11.36
68e6198

Choose a tag to compare

What's Changed

This release torch import error in cli

Full Changelog: 0.11.35...0.11.36

v0.11.35 Release

26 Sep 19:43
0.11.35
46a096b

Choose a tag to compare

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

Full Changelog: 0.11.34...0.11.35

v0.11.34 Release

31 Aug 11:02
098c066

Choose a tag to compare

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

Full Changelog: 0.11.33...0.11.34

v0.11.33 Release

22 Aug 11:34
d410fa2

Choose a tag to compare

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

02 Aug 11:33
15c7092

Choose a tag to compare

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 in README.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

Full Changelog: 0.11.31...0.11.32

0.11.31

15 Jul 08:41
cdb5aeb

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.11.30...0.11.31

0.11.30

08 Jul 16:33
a7f4e85

Choose a tag to compare

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)

🛠️ 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

04 Jul 09:45
7966c42

Choose a tag to compare

What's Changed

Full Changelog: 0.11.28...0.11.29

0.11.28

01 Jul 19:17
fa69f16

Choose a tag to compare

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

30 Jun 17:23
7ed08b6

Choose a tag to compare

What's Changed

Full Changelog: 0.11.26...0.11.27