Views
No views yet

AutoModel class from huggingface transformers library.1from transformers import AutoModel
2model = AutoModel.from_pretrained("raidium/curia-2")1from transformers import AutoImageProcessor
2processor = AutoImageProcessor.from_pretrained("raidium/curia-2", trust_remote_code=True)1img = 2048 * np.random.rand(256, 256) - 1024 # single axial slice, in PL orientation
2model_input = processor(img)
3features = model(**model_input)input: numpy array of shape (H, W)
Images needs to be in:
- PL for axial
- IL for coronal
- IP for sagittal
for CT, no windowing, just hounsfield or normalized image
for MRI, similar, no windowing, just raw values or normalized image@article{saporta2026curia2,
title={Curia-2: Scaling Self-Supervised Learning for Radiology Foundation Models},
author={Antoine Saporta and Baptiste Callard and Corentin Dancette and Julien Khlaut and Charles Corbière and Leo Butsanets and Amaury Prat and Pierre Manceron},
year={2026},
eprint={2604.01987},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2604.01987},
}