This set of guides demonstrates basic usage of the nobrainer
python API to train and use neural network models for neuroimaging. The nobrainer
project was developed under the support of NIH RF1MH121885 and R01EB020470. It is distributed under the Apache 2.0 license.
These guides are available in both jupyter notebook versions and as standalone python scripts.
See the notebooks directory for the guides in jupyter notebook format. These notebooks can be run for free on Google Colab, accessed here.
See the scripts directory for the guides in python format. These notebooks can be run anywhere with a an installation of python >= 3.8.
- Getting started (notebook, python)
Basic
nobrainer
info and installation - Preparing training data (notebook, python) How to obtain some example neuroimaging data and prepare it for neural network training.
- Train brain extraction (notebook, python) Train a standard brain extraction model on the example dataset.
- Train brain volume generation (notebook, python) Train a model to generate synthetic brain volumes on the example dataset.
- Augmentation of training data (notebook, python) Use augmented training data to train a standard brain extraction model on the example dataset.
These guides are maintained in parallel using jupytext
. Edits should be made to the python files in the scripts directory, then notebooks can be generated via
jupytext --sync scripts/<python-file>