[問題] 在Windows下使用 Caffe 深度學習套件

看板Python作者 (笨小孩)時間9年前 (2016/08/30 16:13), 9年前編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
如題 看到最近蠻多開源框架可用,剛好Python又很適合拿來做資料處裡 所以就開始研究怎使用 主要是參考官方github上的指引: https://github.com/Microsoft/caffe.git 目前完成動作: 1. 下載 caffe source from "https://github.com/Microsoft/caffe.git" 2. 安裝cuda-toolkit 7.5 & cudnn 3. 將 .\windows\CommonSettings.props.example 文件名稱修改為 .\windows\CommonSettings.props 並且設定python路徑等項目 (ex: D:\Python\WinPython-64bit-2.7.10.3\python-2.7.10.amd64) 4. 以vc2013 打開 Caffe.sln 以Release 編譯 libcaffe 成功 (有產生 .\Build 資料 夾 裡面可以找到 "__init__.py" 和 "caffe_pb2.py" ) 5. 將 <Caffe_Dir>\Build\x64\Release\pycaffe\caffe 複製到 <Python_Dir>\lib\site-packages 6. 在Python 2.7.10 Shell 底下輸入 "import caffe" 發生問題: 在Python 2.7.10 Shell 底下輸入 "import caffe" 會出現 "ImportError: No module named caffe" 等訊息 請問有試過的大大,請問我還差甚麼步驟呢? 還請指點一下 感謝 補充: 1. Python 我是安裝 WinPython-64bit-2.7.10.3 所以 numpy scipy matplotlib scikit-image 似乎都有了 2. Miniconda 不知道是做甚麼用的,也不清楚從哪下指令安裝 "protobuf" -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.251.215.180 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1472544827.A.100.html ※ 編輯: hardman1110 (111.251.215.180), 08/30/2016 16:17:37
文章代碼(AID): #1NnK0x40 (Python)
文章代碼(AID): #1NnK0x40 (Python)