Code

Foundation models

CortexMAE

Pretraining and inference for fMRI masked autoencoders using flat maps, parcels, or volumes. Includes pretrained checkpoints and an API for extracting embeddings.

MedARC-AI/CortexMAE

Evaluation & benchmarking

Brainmarks

An extensible evaluation package for fMRI encoders, with frozen-backbone probes, logistic regression, and support for adding models and datasets.

MedARC-AI/Brainmarks

Multimodal & generative models

MindEye2

Shared-subject models for fMRI-to-image retrieval and reconstruction, with adaptation to a new participant using as little as one hour of data.

MedARC-AI/MindEyeV2