Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 942 Bytes

INSTALL.md

File metadata and controls

45 lines (35 loc) · 942 Bytes

Installation

This document contains detailed instructions for installing dependencies for SiamIRCA. We recommand using the install.sh. The code is tested on an Ubuntu 18.04 system with Nvidia GPU (We recommand 2080ti).

Requirments

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

Step-by-step instructions

Create environment and activate

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

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 SiamIRCA