Caffe on Windows (Visual Studio 2015+CUDA8.0+cuDNNv5)
Title         : Caffe (Visual Studio15+CUDA8+cuDNN5+python3.5)
Author        : SURFZJY
Logo          : True
[TITLE]
Requirements
- Visual Studio 2015
 - CMake 3.4 or higher (we use CMake-3.8.0 here)
 - Git (we use Git-2.12.2 here)
 - Options:
- Anaconda3 (we use Anaconda3-4.2.0-Windows-x86_64 here)
 - CUDA 8.0
 - cuDNN v5
 
 
Procedure
- Download prebuilt dependencies, you can find it in here and put it in the 
C:\Users\yourname\.caffe\dependencies\download(也可以直接从我的共享文件中下载,速度会快一些,链接在这里:https://www.dropbox.com/s/cm34a57re039q9x/libraries_v140_x64_py35_1.1.0.tar.bz2?dl=0) - Executing the following commands in a cmd prompt (we use 
C:\Projectsas a root folder for the remainder of the instructions): 
   C:\Projects> git clone https://github.com/BVLC/caffe.git
- 
Edit
C:\Projects\caffe\scripts\build_win.cmd:- comment line 116 to line 137 (add "
::" in the begin of the line) - change line 8 and line 73 "set WITH_NINJA=1" to "set WITH_NINJA=0"
 
 - comment line 116 to line 137 (add "
 - 
Executing the following commands in a cmd prompt
C:\Projects> cd caffe C:\Projects\caffe> git checkout windows C:\Projects\caffe> scripts\build_win.cmd 
Using the Python interface
- add the C:\Projects\caffe\python folder to your python path
 - copy the C:\Projects\caffe\python\caffe folder to your site_packages folder.
 

                
            
        
浙公网安备 33010602011771号