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

Dura

An evaluation suite for structural MRI foundation models on restricted-access datasets that can't be redistributed. Each model plugs in through a small wrapper with its own preprocessing, so the evaluations stay model-agnostic.

mihirneal/dura

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

Experiment tools

Onset

Open-source stimulus presentation software for fMRI experiments, written in Rust as an alternative to E-Prime. Designed for frame-accurate timing, scanner trigger sync, and BIDS event logs. Work in progress.

mihirneal/onset