Installation

April 20, 2020 ยท View on GitHub

This document contains detailed instructions for installing dependencies for SiamBAN. We recommand using the install.sh. The code is tested on an Ubuntu 18.04 system with Nvidia GPU (We recommand 1080TI / TITAN V).

Requirments

  • Conda with Python 3.7
  • Nvidia GPU
  • PyTorch 1.3.1
  • pyyaml
  • yacs
  • tqdm
  • matplotlib
  • OpenCV

Step-by-step instructions

Create environment and activate

conda create --name siamban python=3.7
source activate siamban

Install numpy/pytorch/opencv

conda install numpy
conda install pytorch=1.3.1 torchvision cudatoolkit=10.1 -c pytorch
pip install opencv-python

Install other requirements

pip install pyyaml yacs tqdm colorama matplotlib cython tensorboard future mpi4py optuna

Build extensions

python setup.py build_ext --inplace

Try with scripts

bash install.sh /path/to/your/conda siamban