Getting started

Backends

Before installing delira, you have to choose a suitable backend. delira handles backends as optional dependencies and tries to escape all uses of a not-installed backend.

The currently supported backends are:

  • torch (recommended, since it is the most tested backend): Suffix torch

    Note

    delira supports mixed-precision training via apex, but apex must be installed separately

  • tf (very experimental): Suffix tensorflow

    Note

    the tensorflow backend is still very experimental and may be unstable.

  • None: No Suffix

  • All (installs all registered backends and their dependencies; not recommended, since this will install many large packages): Suffix full

Note

Depending on the backend, some functionalities may not be available for you. If you want to ensure, you can use each functionality, please use the full option, since it installs all backends

Note

If you want to add a backend like CNTK, Chainer, MXNET or something similar, please open an issue for that and we will guide you during that process (don’t worry, it is not much effort at all).

Installation

Backend

Bin ary Ins tal lat ion

Source Installation

Notes

None

``p ip ins tal l d eli ra` `

pip install git+ https://github.com /justusschock/deli ra.git

Training not possible if backend is not installed separately

torch _

``p ip ins tal l d eli ra[ tor ch] ``

``git clone https: //github.com/justu sschock/delira.git

&& cd delira && p

ip install .[torch ]``

delira with torch backend supports mixed-precision training via NVIDIA/apex (must be installed separately).

`tensor flow`_

``p ip ins tal l d eli ra[ ten sor flo w]` `

``git clone https: //github.com/justu sschock/delira.git

&& cd delira && p

ip install .[tenso rflow]``

the tensorflow backend is still very experimental and lacks some features

Full

``p ip ins tal l d eli ra[ ful l]` `

``git clone https: //github.com/justu sschock/delira.git

&& cd delira && p

ip install .[full] ``

All backends will be installed.