- 先裝個 cmake (參 https://cmake.org/)
- git clone https://github.com/BVLC/caffe.git
- cd caffe
- git checkout windows
- 設定檔 build_win.cmd 中 set WITH_NINJA=0
- scripts\build_win.cmd
- pip install cmake ninja numpy scipy protobuf==3.1.0 six scikit-image pyyaml pydotplus graphviz
- copy the C:\Projects\caffe\python\caffe folder to your site_packages folder.(C:\Users\[你的名字]
\AppData\Local\Programs\Python\Python35\Lib\site-packages)
沒有留言:
張貼留言