Installation is easy. Checkout the Git repository of RETURNN (https://github.com/rwth-i6/returnn/). Install all dependencies, which are just numpy, h5py, and the backend you want to use (TensorFlow or Theano). You can do so via:
pip install -r requirements.txt
You might want to use
pip3 instead of
and you also might want to add the option
(if you are not using
For TensorFlow, use
pip install tensorflow,
and for PyTorch, use
pip install torch torchdata torchaudio.
For some specific datasets or special layers, additional dependencies might be needed,
For running the tests, you need
You can also install RETURNN as a framework, via
pip (PyPI entry),
pip install returnn
See Basic Usage for the basic usage of RETURNN.