While the code itself should be platform independent, we recommend running it on GNU/Linux. The code has been tested on Ubuntu 22.04 LTS only.
- If you want to use the GPU, run
nvidia-smito check if you have a GPU driver installed. If not, install the latest version. - Install Python and pip if necessary. On Ubuntu/Debian run
sudo apt install python3 python3-pip. - Make sure that you have
pkg-configand FreeType installed. Otherwise, the installation of matplotlib might fail. On Ubuntu/Debian runsudo apt install pkg-config libfreetype6-dev. - Install the g++ compiler for improved performance. On Ubuntu run
sudo apt install g++. - Install the oneAPI Math Kernel Library. On Ubuntu run
sudo apt install intel-mkl. - Install R. On Ubuntu run
sudo apt install r-base.
We recommend using a virtual environment for package management to avoid version conflicts.
- Install PyTorch. If you want to use the GPU, choose the latest (highest) CUDA version. Otherwise, select CPU.
- Run
pip install -r requirements.txtto install the remaining dependencies. - Verify your install.
- Run
Rscript -e 'install.packages(c("lubridate", "dplyr", "tidyr", "ggplot2"))'