Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Nobrainer Book

Tutorials and guides for Nobrainer — a deep learning framework for 3D brain image processing.

Tutorials

Follow these tutorials in order for a complete learning journey:

#TutorialWhat you’ll learn
01Getting StartedInstall, import, explore available models
02Download & InspectGet sample brain MRI data, understand NIfTI format
03Extract & BatchPrepare training data with patches and datasets
04Brain SegmentationTrain a UNet in 3 lines with the estimator API
05UncertaintyBayesian inference with variance and entropy maps
06Brain GenerationSynthesize brain volumes with Progressive GAN
07Advanced TrainingCustom PyTorch loops for full control
08Model ManagementSave/load with Croissant-ML metadata
09Zarr PipelineCloud-optimized multi-resolution storage
10Multi-GPUScale training across GPUs with DDP
11ContributingAdd models, write tests, submit PRs

Run in Google Colab

Stable release (master): Open In Colab

Pre-release (alpha): Open In Colab

Branches

BranchNobrainer versionInstall
masterStablepip install nobrainer
alphaPre-releasepip install --pre nobrainer

Run locally

uv venv --python 3.14
source .venv/bin/activate
uv pip install "nobrainer[bayesian,generative,zarr]" monai pyro-ppl nilearn matplotlib
for script in docs/nobrainer-guides/scripts/[01]*.py; do python "$script"; done