Caffe on Windows (Visual Studio 2015+CUDA8.0+cuDNNv5)

Title : Caffe (Visual Studio15+CUDA8+cuDNN5+python3.5)
Author : SURFZJY
Logo : True

[TITLE]

Requirements

Procedure

   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"
  • 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.
posted @ 2017-03-28 21:37  涉风  阅读(1182)  评论(0编辑  收藏  举报