1.前往github下载PySOT程序
https://github.com/STVIR/pysot#references
2.解压压缩包,将文件程序复制到指定位置
3.打开install.md文件根据文件提示部署环境(如下所示)
#### Create environment and activate
```bash
conda create --name pysot python=3.7
conda activate pysot
```
#### 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
```
注:如果下载pytorch速度过慢,可以采用以下方法
命令行输入以下命令,进行更换下载源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set sh