Caffe编译于 https://blog.csdn.net/u010039305/article/details/110239505
BUT 这种苦你不用再受了!(编译好的Caffe已经上传,仅用于cuda10.2+cudnn,batchsize MAX96,因为我用得笔记本配置)
安装Anaconda3-4.2.0
https://blog.csdn.net/u012135425/article/details/104786398/ conda 慢
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ pip慢
conda create -n py27 python=2.7
activate py27
https://blog.csdn.net/m0_38082419/article/details/80007143 conda install 失败(老是失败可以把环境删了重新创建)
conda install --yes numpy scipy matplotlib scikit-image pip
pip install protobuf -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install numpy(这句不重要 因为Requirement already satisfied)
pip install opencv-python==4.2.0.32)
将编译好的*\caffe-master\Build\x64\Release\pycaffe下的caffe文件夹,
(已打包https://pan.baidu.com/s/1COAjUYhpDR1NA0nagA7jYg q1n4)
拷贝至*\Anaconda3\envs\py27\Lib\site-packages路径下
电脑可能需要安装cuda10.2 以及对应的(cudnn https://pan.baidu.com/s/1MV3dcOwb6j9kIF18ZKL7eA efei)
尝试运行 runcaffe.py python脚本(https://pan.baidu.com/s/1AjnFxrya3uyVi9hBkgXUzA jhyx)
个人用notepad++运行的python脚本 路径有空格例: C:\"Program Files"\Anaconda3