Before you start, make sure that you already have installed Python 3.5, pip and git.
Create and activate a virtual environment to install the package into:
$ python3 -m venv nm $ source nm/bin/activate # after this, your prompt should change
Then clone Neural Monkey from GitHub and switch to its root directory:
(nm)$ git clone https://github.com/ufal/neuralmonkey (nm)$ cd neuralmonkey
Run pip to install all requirements. For the CPU version install dependencies by this command:
(nm)$ pip install --upgrade -r requirements.txt
For the GPU version install dependencies try this command:
(nm)$ pip install --upgrade -r requirements-gpu.txt
If you are using the GPU version, make sure that the
environment variable points to
lib64 directories of your CUDA
and CuDNN installations. Similarly, your
PATH variable should point to the
bin subdirectory of the CUDA installation directory.
You made it! Neural Monkey is now installed!