代码地址:https://github.com/MahyarNajibi/SNIPER
论文下载:https://arxiv.org/abs/1805.09300
一、配置环境
1、获取代码
git clone --recursive https://github.com/mahyarnajibi/SNIPER.git
2、编译
安装CUDA, CuDNN, OpenCV, and OpenBLAS,前两个有教程,我之前也写过
pip install opencv-python
sudo apt-get install libblas-dev
编译,
cd SNIPER-mxnet
make -j [NUM_OF_PROCESS] USE_CUDA_PATH=[PATH_TO_THE_CUDA_FOLDER]
我的命令是
make -j4 USE_CUDA_PATH=/usr/local/cuda
3、编译C++文件
cd ../
bash scripts/compile.sh