This document contains detailed instructions for installing dependencies for DSANet. We recommand using the install.sh. The code is tested on an Ubuntu 16.04 system with Nvidia GPU (We recommand 1080TI / TITAN XP).
- Conda with Python 3.7.
- Nvidia GPU.
- PyTorch 1.4.0
- yacs
- pyyaml
- matplotlib
- tqdm
- OpenCV
conda create --name pysot python=3.7
conda activate pysot
conda install numpy
conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.1 -c pytorch
pip install opencv-python
pip install pyyaml yacs tqdm colorama matplotlib cython tensorboardX
python setup.py build_ext --inplace
cd pysot/models/head/dcn/ && python setup.py build_ext --inplace
bash install.sh /path/to/your/conda pysot