Skip to content

πŸ“¦ Install

Prolix needs Python >= 3.12 and can be installed from this Git repository.

# Make sure dependencies are available
apt install python3 python3-venv libturbojpeg0 libturbojpeg0-dev

# Install Prolix CLI
git clone https://gitlab.com/panoramax/clients/prolix.git
cd prolix
git submodule update --init --recursive
python -m venv env
source ./env/bin/activate
pip install -e .
git clone https://gitlab.com/panoramax/clients/prolix.git
cd prolix
git submodule update --init --recursive
python -m venv env
env\Scripts\activate.bat
pip install -e .

Info

Note that you need a GPU for running detections & classifications in a decent amount of time.

Install Pytorch

Prolix uses YOLO and Pytorch under the hood. For the software to work correctly, you need to check exactly what is your hardware (GPU) and software environment.

To check your actual Nvidia GPU and pilot version, run nvidia-smi command-line tool. Look for:

  • CUDA version, like 13.0

Then, check if you can find a matching version on Pytorch "Start locally" docs. You may find a pip3 install ... command at the end.

If no version matches there, look for it in Pytorch "Previous versions" docs. Scroll through the page to find a matching CUDA version (or a nearby one).

For example, with a Nvidia GeForce GTX 1060, you end up with this install command:

pip install torch==2.13.0 torchvision==0.28.0 --index-url https://download.pytorch.org/whl/cu130

To check your actual AMD GPU and pilot version, run rocminfo command-line tool. Look for:

  • ROCk module version (or ROCm version, something like 6.16.13)
  • Agent with a name like gfx.... (like gfx1201)

Then, check if you can find a matching version on Pytorch "Start locally" docs. You may find a pip3 install ... command at the end.

If no version matches there, look for it in Pytorch "Previous versions" docs. Scroll through the page to find a matching ROCM version (or a nearby one).

For example, with a ADM Radeon RX 9070 XT, running on ROCm 6.16, you end up with this install command:

pip install torch==2.9.1 torchvision==0.24.1 --index-url https://download.pytorch.org/whl/rocm6.4

To make sure everything will work as expected, you can run a YOLO check:

yolo check

And verify that GPU has been detected correctly.