Views
No views yet
| Field | Value |
|---|---|
| Model name | Prost40M |
| Backbone architecture | vit_small |
| Input size | 224 x 224 |
| Patch size | 14 |
| Embedding dimension | 384 |
| Released weights | Teacher backbone encoder |
| Domain | H&E prostatectomy histopathology |
1import torch
2import timm
3from PIL import Image
4from timm.data import resolve_data_config
5from timm.data.transforms_factory import create_transform
6
7model = timm.create_model("hf-hub:waticlems/Prost40M", pretrained=True)
8model.eval()
9
10transform = create_transform(**resolve_data_config(model.pretrained_cfg, model=model))
11
12img = Image.open("tile.png").convert("RGB")
13x = transform(img).unsqueeze(0)
14with torch.inference_mode():
15 embedding = model(x) # shape: [1, 384]
16print(embedding.shape)0.50 microns per pixel@misc{grisi2026bcr,
title={Deep Learning From Routine Histology Improves Risk Stratification for Biochemical Recurrence in Prostate Cancer},
author={Clément Grisi and Khrystyna Faryna and Nefise Uysal and Vittorio Agosti and Enrico Munari and Solène-Florence Kammerer-Jacquet and Paulo Guilherme de Oliveira Salles and Yuri Tolkach and Reinhard Büttner and Sofiya Semko and Maksym Pikul and Axel Heidenreich and Jeroen van der Laak and Geert Litjens},
year={2026},
eprint={2603.14187},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2603.14187},
}