Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

No project description provided

Project description

PyPI version Build Status Documentation Status codecov LICENSE DOI


Delira - Deep Learning in Radiology

Authors: Justus Schock, Oliver Rippel, Christoph Haarburger


Delira was originally developed as a deep learning framework for medical images such as CT or MRI. Currently, it works on arbitrary data (based on NumPy).

Based on batchgenerators and trixi it provides a framework for

  • Dataset loading
  • Dataset sampling
  • Augmentation (multi-threaded) including 3D images with any number of channels
  • A generic trainer class that implements the training process for all backends
  • Already implemented models used in medical image processing and exemplaric implementations of most used models in general (like Resnet)
  • Web-based monitoring using Visdom
  • Tensorboard monitoring
  • Model save and load functions

Delira supports classification and regression problems as well as generative adversarial networks and segmentation tasks.


Choose Backend

Currently the only available backends are PyTorch and TensorFlow(or no backend at all). If you want to add another backend, please open an issue (it should not be hard at all) and we will guide you during the process of doing so.

Backend Binary Installation Source Installation Notes
None pip install delira pip install git+ Training not possible if backend is not installed separately
torch pip install delira[torch] git clone && cd delira && pip install .[torch] delira with torch backend supports mixed-precision training via NVIDIA/apex (must be installed separately).
tensorflow pip install delira[tensorflow] git clone && cd delira && pip install .[tensorflow] the tensorflow backend is still very experimental and lacks some features
Full pip install delira[full] git clone && cd delira && pip install .[full] All backends will be installed.


The easiest way to use delira is via docker (with the nvidia-runtime for GPU-support) and using the Dockerfile or the prebuild-images.


We have a community chat on slack. If you need an invitation, just follow this link.

Getting Started

The best way to learn how to use is to have a look at the tutorial notebook. Example implementations for classification problems, segmentation approaches and GANs are also provided in the notebooks folder.


The docs are hosted on ReadTheDocs/Delira. The documentation of the latest master branch can always be found at the project's github page.


If you find a bug or have an idea for an improvement, please have a look at our contribution guideline.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for delira, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size delira-0.4.1.tar.gz (109.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page