-
Notifications
You must be signed in to change notification settings - Fork 101
🆕 Integrate Foundation Models Available VIA timm: UNI, Prov-GigaPath, H-optimus-0
#856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shaneahmed
merged 54 commits into
TissueImageAnalytics:develop
from
GeorgeBatch:enhance-add-timm-feature-extractors
Nov 15, 2024
Merged
Changes from 4 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
5bf228f
add `_get_timm_architecture()` and `TimmBackbone`
GeorgeBatch 1bc3424
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f1ec821
inherit `TimmBackbone` from `CNNBackbone`
GeorgeBatch d823c1e
update link: change GitHub to HuggingDace for UNI model
GeorgeBatch 7aa3ca3
Merge branch 'develop' into enhance-add-timm-feature-extractors
shaneahmed 934bd9a
Merge branch 'TissueImageAnalytics:develop' into enhance-add-timm-fea…
GeorgeBatch c4bbb40
Apply suggestions from code review: prov-gigapath version of timm
GeorgeBatch 2c9a47f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6ec9ca1
remove explicit assert statement re prov-gigapath version of `timm`
GeorgeBatch 5445ff5
Merge branch 'TissueImageAnalytics:develop' into enhance-add-timm-fea…
GeorgeBatch 142eaf6
remove unused arguments in ; fix formatting
GeorgeBatch 36126c5
remove unused arguments from docstring of _get_timm_architecture
GeorgeBatch 1b666b8
improve error message in _get_timm_architecture()
GeorgeBatch 9c494a2
simplify inheretance code of TimmBackbone
GeorgeBatch 5b5f674
add TimmModel class inheriting from CNNModel
GeorgeBatch 7f51fec
add tests for TimmModel - fail because backbone argument in not speci…
GeorgeBatch 40f7f95
TEMPORARY FIX: pass backbone="alexnet" for TimmModel and TimmBackbone…
GeorgeBatch 7ec12b7
Make consistent with `_get_architecture` error message
GeorgeBatch 4eb7f8c
fix `__init__` methods of `TimmModel` and `TimmBackbone`
GeorgeBatch 7b0c0e8
add `timm>=1.0.3` as a requirement, otherwise the build is failing
GeorgeBatch deea74f
introduce a keyword-only `pretrained` argument for `timm` models
GeorgeBatch 3437c1a
add support for `H-optimus-0`
GeorgeBatch a47300c
add a comment with HuggingFace link for H-Optimus-0
GeorgeBatch 373ee8a
replace "uni_v1" with "UNI" for consistency with HuggingFace name
GeorgeBatch 3263e3c
add "efficientnet_b{i}" for i in [0, 1, ..., 7]
GeorgeBatch d037dda
fix typo and shorten ProViT-GigaPath comments
GeorgeBatch e2f4a9d
Merge branch 'TissueImageAnalytics:develop' into enhance-add-timm-fea…
GeorgeBatch 6afecd2
:fire: No need to check for timm version
shaneahmed 2b5f9ce
:fire: No need to check for timm version
shaneahmed dad9f8e
:recycle: Define `postproc` and `infer_batch` used commonly by CNNMod…
shaneahmed f893a83
:recycle: Refactor `CNNBackBone` and `TimmBackbone`.
shaneahmed 4293044
:bug: Fix deepsource error
shaneahmed cc31dc7
:pushpin: Pin `numpy` version <2.0
shaneahmed 9ae4d6e
:white_check_mark: Skip Coverage for `UNI`, `Prov-GigaPath`, `H-Opti…
shaneahmed 0166e61
Merge branch 'TissueImageAnalytics:develop' into enhance-add-timm-fea…
GeorgeBatch 617c93f
🔥 No need to check for timm version
GeorgeBatch d30d7d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d08127f
add test for TimmBackbone
GeorgeBatch 85ad67b
show how thumbnails and masks can be saved using `tiatoolbox.utils.mi…
GeorgeBatch 961a9ba
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 18070c5
fix typo
GeorgeBatch c270d7d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ad9053d
add Google Colab link
GeorgeBatch 9eebbb4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] dabf9a9
add TimmBackbone example as a comment under `model = CNNBackbone("res…
GeorgeBatch 5c93e9a
add TimmBackbone example as a comment under model = CNNBackbone("resn…
GeorgeBatch 1ab884e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 276da9c
Attempt to fix ruff error: commented code (TimmBackbone)
GeorgeBatch eba8d16
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6450d01
Attempt to fix ruff error: commented code (TimmBackbone) - inference …
GeorgeBatch ce2ef64
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3631b34
[skip ci] :memo: Update 03-tissue-masking.ipynb
shaneahmed 6f476c1
Merge branch 'develop' into enhance-add-timm-feature-extractors
shaneahmed c159182
[skip ci] :memo: Update the jupyter notebooks.
shaneahmed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.