You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🆕 Integrate Foundation Models Available VIA timm: UNI, Prov-GigaPath, H-optimus-0 (#856)
- Integrates pre-trained foundation models from other labs into tiatoolbox.models.architecture.vanilla.py.
Currently, the `_get_architecture()` function allows the use of models from `torchvision.models`.
A new function `_get_timm_architecture()` has been incorporated to support foundation models which are available from `timm` with weights on HuggingFace Hub.
- All the models from `timm` that used require users to sign the licence agreement with the authors.
- The users can add new models by modifying `_get_timm_architecture()`
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shan E Ahmed Raza <[email protected]>
0 commit comments