项目地址:https://github.com/DetectionTeamUCAS/R2CNN_Faster-RCNN_Tensorflow

第一种cuda10.1安装:

cuda10.1 cudnn7.5.下得安装

 

创建虚拟环境:

conda create -n conpy35 python=3.5.6

  

  第一步安装tensorflow 1.14: 

pip install  tensorflow-1.14.0-cp35-cp35m-manylinux1_x86_64.whl

  安装包得地址在:

第二步:编译

 

cd $PATH_ROOT/libs/box_utils/
python setup.py build_ext --inplace
cd $PATH_ROOT/libs/box_utils/cython_utils python setup.py build_ext --inplace

  第三步安装需求文件;

cd $PATH_ROOT
pip install -r requirements.txt
AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d'的解决办法
pip uninstall opencv-contrib-python
pip install opencv-contrib-python=3.4.1.15

https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/opencv-python/  

 https://pypi.tuna.tsinghua.edu.cn/simple/opencv-contrib-python/