Installation
April 14, 2023 ยท View on GitHub
This document contains detailed instructions for installing dependencies for PySOT. We recommand using the install.sh. The code is tested on an Ubuntu 16.04 system with Nvidia GPU (We recommand 1080TI / TITAN XP).
Requirments
- Conda with Python 3.7.
- Nvidia GPU.
- PyTorch 0.4.1
- yacs
- pyyaml
- matplotlib
- tqdm
- OpenCV
Step-by-step instructions
Create environment and activate
conda create --name pysot python=3.7
conda activate pysot
Install numpy/pytorch/opencv
conda install 'numpy<1.24'
conda install pytorch=0.4.1 torchvision cuda90 -c pytorch
pip install opencv-python
Install other requirements
pip install pyyaml yacs tqdm colorama matplotlib cython tensorboardX
Build extensions
python setup.py build_ext --inplace
Try with scripts
bash install.sh /path/to/your/conda pysot