📝 Update Example Notebook 11-import-foundation-models.ipynb#994
Merged
shaneahmed merged 2 commits intodev-define-engines-abcfrom Feb 13, 2026
Merged
📝 Update Example Notebook 11-import-foundation-models.ipynb#994shaneahmed merged 2 commits intodev-define-engines-abcfrom
11-import-foundation-models.ipynb#994shaneahmed merged 2 commits intodev-define-engines-abcfrom
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev-define-engines-abc #994 +/- ##
=======================================================
Coverage 95.33% 95.33%
=======================================================
Files 79 79
Lines 10001 10001
Branches 1290 1290
=======================================================
Hits 9534 9534
Misses 431 431
Partials 36 36 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
11-import-foundation-models.ipynb
shaneahmed
approved these changes
Feb 13, 2026
Member
shaneahmed
left a comment
There was a problem hiding this comment.
Thanks @YijieZhu15
Looks good. I have reverted the output to previous image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📘 Summary
This PR updates the
11-import-foundation-models.ipynbexample to align with the latest TIAToolbox APIs and modern best practices. The notebook now uses Hugging Face Hub for dataset retrieval, Zarr for feature storage, the updatedDeepFeatureExtractorpipeline, and improved IO configuration. Several cells and metadata entries were cleaned up for a more consistent, reproducible, and user-friendly demo.🔧 What’s Changed
Data Access
download_data()usage withhf_hub_download()for fetching sample WSIs../tmpdirectory if missing.Imports & Dependencies
dask.arrayandzarrto support lazy, chunked feature loading.DeepFeatureExtractorfromengine.deep_feature_extractorIOPatchPredictorConfigfromengine.io_configModel & Pipeline Updates
TimmBackboneusage; now usesmodel="UNI"directly inDeepFeatureExtractor.IOSegmentorConfigwith the updatedIOPatchPredictorConfig.predict()torun()using the new API.Output Format Changes
.npyfiles to a consolidated Zarr store.zarr.open()+dask.array.from_zarr().Notebook Cleanup
remove-celltohide-outputfor cleaner diffs and readability.tiatoolbox-dev.Documentation Edits
modelargument and correct IO config naming.