Getting started¶
Installation¶
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, butapex
must be installed separatelyNone: No Suffix
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
From Source¶
To install delira
you can simply run
pip install git+https://github.com/justusschock/delira.git[suffix]
by replacing [suffix]
with the suffix for your backend, i.e. installing delira
with torch
backend would become pip install git+https://github.com/justusschock/delira.git[torch]
and installing without a backend at all would become pip install git+https://github.com/justusschock/delira.git
Prebuild Packages¶
Prebuild packages (via pip) will be available in the future, once all dependencies are registered on PyPi. This is a requirement because PyPi forbids packages that depend on non-pypi packages. Currently this requirement is not fullfilled by batchgenerators