Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.92 KB

INSTALLATION.md

File metadata and controls

45 lines (33 loc) · 1.92 KB

LFAI Documentation - Installation

This is the official documentation for the LFAI lstm model.

Python Installation

Windows 10/11

The first step is to install python if it is not already installed. Go over to Python and download the latest version.

Linux/Unix

By default you will have python3 installed. Just check the version by typing the following command python3 --version and make sure the version is above 3.6

Install Dependencies

Go into the folder which contains requirements.txt.

Windows 10/11

Make sure to check if your computer has a NVIDIA gpu that supports CUDA. If your computer does not support CUDA we will use the CPU version.

You can execute the following command to install the requirements for an NVIDIA gpu.

python -m pip install -U -r requirements.txt

You can execute the following command to install the requirements for a CPU.

python -m pip install -U -r requirements_cpu.txt

Linux/Unix

Check if your computer has a NVIDIA gpu by typing this command into the Terminal nvidia-smi. If it returns Command 'nvidia-smi' not found you do not have an NVIDIA gpu installed or the drivers are not properly installed.

You can execute the following command to install the requirements for an NVIDIA gpu.

./install.sh

You can execute the following command to install the requirements for a CPU.

./install_cpu.sh

Final Chapter

This is the end you did it! Now you can move on to the Next Section!