Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 760 Bytes

INSTALL.md

File metadata and controls

44 lines (35 loc) · 760 Bytes

Installation

This document contains detailed instructions for installing dependencies for SiamKPN.

Requirments

  • Conda with Python 3.7.
  • Nvidia GPU.
  • PyTorch>=0.4.0
  • yacs
  • pyyaml
  • matplotlib
  • tqdm
  • OpenCV

Step-by-step instructions

Create environment and activate

conda create --name SiamKPN python=3.7
conda activate SianKPN

Install numpy/pytorch/opencv

conda install numpy
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 SiamKPN