ClinicaDL is the deep learning extension of Clinica, an open-source Python library for neuroimaging preprocessing and analysis. This library was developed from the AD-DL project, a GitHub repository hosting the source code of a scientific publication on the deep learning classification of brain images in the context of Alzheimer's disease. This is why some functions (label definition and data set restriction) of ClinicaDL are still specific to Alzheimer's disease context. For more information on this clinical context, please refer to our tutorial.
If you are new to ClinicaDL, please consider reading the First steps section before starting your project!
Visit our hands-on tutorial web site to try ClinicaDL directly in a Google Colab instance!
See Installation section for detailed instructions.
ClinicaDL can be installed on Mac OS X and Linux machines, and possibly on Windows computers with a Linux Virtual Machine.
We assume that users installing and using ClinicaDL are comfortable using the command line.
User documentation (ClinicaDL)¶
Prepare your metadata¶
clinicadl tsvtool- Handle TSV files for metadata processing and data splits
Prepare your imaging data¶
clinicadl quality-check- Quality control of preprocessed data: use a pretrained network [Fonov et al., 2018] to classify adequately registered images.
clinicadl extract- Prepare input data for deep learning with PyTorch
clinicadl random-search- Explore hyperparameter space by training random models
Train deep learning networks¶
clinicadl train- Train with your data and create a model
clinicadl train resumeResume a prematurely stopped job
Inference using pretrained models¶
clinicadl predict- Predict one image or a list of images with your previously trained network
Network output serialization¶
clinicadl save-tensors- Write series of input / output tensors for custom analyses
Interpretation with gradient maps¶
clinicadl interpret- Interpret trained CNNs on data groups
If you want to contribute but are not familiar with GitHub, please read the Contribute section. You will also find how to run the test suite to check that your modifications are ready to be integrated.
ClinicaDL is distributed under the terms of the MIT license given here.
For publications or communications using ClinicaDL, please cite [Wen et al., 2020]
as well as the references mentioned on the wiki page of the pipelines you used
(for example, citing PyTorch when using the
ClinicaDL is a software for research studies. It is not intended for use in medical routine.