Skip to content

docs: link "Memory-Efficient Instance Segmentation" notebook and update deprecations#2241

Merged
Borda merged 6 commits into
developfrom
docs/update
Apr 30, 2026
Merged

docs: link "Memory-Efficient Instance Segmentation" notebook and update deprecations#2241
Borda merged 6 commits into
developfrom
docs/update

Conversation

@Borda

@Borda Borda commented Apr 30, 2026

Copy link
Copy Markdown
Member

This pull request updates documentation and the changelog to reflect recent deprecations, removals, and improvements in the supervision library, as well as enhances the clarity and navigation of example notebooks. The most significant changes include a comprehensive update to the deprecation and removal notices, improvements to the changelog URLs for better accuracy, and the addition of a new memory-efficient instance segmentation notebook to the cookbooks section.

Deprecations and Removals:

  • Updated docs/deprecated.md with several new deprecations, including the deprecation of sv.ByteTrack (in favor of an external package), the supervision.keypoint module, create_tiles, ensure_cv2_image_for_processing, keypoint validation utilities, and changes to argument names and import paths for several functions. Also, added explicit removal notices for overlap_ratio_wh and overlap_filter_strategy parameters in sv.InferenceSlicer.

Changelog Improvements:

  • Updated URLs in docs/changelog.md for sv.CompactMask and sv.CompactMask.resize to point to the latest documentation instead of the develop branch, improving link accuracy and user experience.

Notebook and Documentation Enhancements:

  • Added the "Memory-Efficient Instance Segmentation" notebook to the cookbooks section in docs/theme/cookbooks.html for easier discovery.
  • Cleaned up the docs/notebooks/compact-mask-sam3.ipynb notebook by removing version-specific headings and suppressing verbose cell outputs, making the notebook more concise and user-friendly. [1] [2] [3]

Copilot AI review requested due to automatic review settings April 30, 2026 22:23
@Borda Borda requested a review from SkalskiP as a code owner April 30, 2026 22:23
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov

codecov Bot commented Apr 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78%. Comparing base (6ec8fa9) to head (90ab41a).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #2241   +/-   ##
=======================================
  Coverage       78%     78%           
=======================================
  Files           66      66           
  Lines         8347    8347           
=======================================
  Hits          6475    6475           
  Misses        1872    1872           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Supervision’s documentation to improve notebook discoverability and to reflect recent API deprecations/removals, plus minor changelog link corrections.

Changes:

  • Added a new cookbook card linking to the “Memory-Efficient Instance Segmentation” notebook.
  • Updated docs/deprecated.md with new deprecations and a new “Removed (0.27.0)” section for InferenceSlicer parameter removals.
  • Updated changelog links for sv.CompactMask docs from /develop/ to /latest/ and cleaned notebook heading / outputs.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
docs/theme/cookbooks.html Adds a new cookbook card entry for the compact-mask/SAM3 notebook.
docs/notebooks/compact-mask-sam3.ipynb Removes version from the title and clears verbose cell output for a cleaner rendered notebook.
docs/deprecated.md Expands deprecation/removal notices with timelines and migration pointers.
docs/changelog.md Fixes sv.CompactMask doc URLs to point at /latest/ instead of /develop/.

Comment thread docs/deprecated.md Outdated
Comment thread docs/deprecated.md Outdated
Comment thread docs/notebooks/compact-mask-sam3.ipynb
Comment thread docs/deprecated.md Outdated
Borda and others added 4 commits May 1, 2026 00:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
[resolve #3] Review comment by @Copilot (PR #2241):
"The Colab badge link points to `.../blob/develop/notebooks/release-demo_0-28.ipynb`..."

---
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
@Borda Borda merged commit 2beeda7 into develop Apr 30, 2026
27 checks passed
@Borda Borda deleted the docs/update branch April 30, 2026 22:49
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.

2 participants