-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* modularize extractors + install timm * use len instead of shape for num patches * add virchow2 and hoptimus0 * mypy, please ignore timm * use extractor.run * do not cache tissue mask or coords These are very quick to compute. Instead, we only cache the tile embeddings, which take time to compute. * add encoders hibou, kaiko, phikon, phikonv2, provgigapath, virchow * mypy: ignore transformers * sort imports * set abmil model to eval mode * update model inference func * replace deprectated torchvision transforms funcs * add Resize to hoptimus0 transform * add --quantize option * do not squeeze embeddings * add --quantize to runlocal * remove unused type:ignore commment * add transformers as dependency * test python3.12 * run mypy with python 3.12 * set zarr<3.0.0 and rm tifffile and imagecodecs * ignore complicated numpy typing issues * reformat with ruff * use env var to force cpu usage * in windows, set SPINPATH_FORCE_CPU
- Loading branch information
Showing
21 changed files
with
524 additions
and
262 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.