caffe是乙個清晰而高效的深度學習框架。目前已經安裝到chinagrid上面。使用者可以直接使用預安裝好的caffe,也可以在自己的目錄裡面自行編譯使用。
#cuda 8.0
export path=/opt/cuda-8.0/bin:$path
export ld_library_path=/opt/cuda-8.0/lib64:$ld_library_path
export include=/opt/cuda-8.0/include:$include
export manpath=/opt/cuda-8.0/doc/man:$manpath
#boost 1.63.0
export ld_library_path=/opt/boost/1.63.0/lib:$ld_library_path
export include=/opt/boost/1.63.0/include:$include
#glog for caffe
export ld_library_path=/opt/glog/lib:$ld_library_path
export include=/opt/glog/include:$include
#gflags for caffe
export ld_library_path=/opt/gflags/lib:$ld_library_path
export include=/opt/gflags/include:$include
#lmdb for caffe
export path=/opt/lmdb/bin:$path
export ld_library_path=/opt/lmdb/lib:$ld_library_path
export include=/opt/lmdb/include:$include
export manpath=/opt/lmdb/share/man:$manpath #caffe
export ld_library_path=/opt/caffe/lib:$ld_library_path
export path=/opt/caffe/tools:$path
#cuda 8.0
export path=/opt/cuda-8.0/bin:$path
export ld_library_path=/opt/cuda-8.0/lib64:$ld_library_path
export include=/opt/cuda-8.0/include:$include
export manpath=/opt/cuda-8.0/doc/man:$manpath
#boost 1.63.0
export ld_library_path=/opt/boost/1.63.0/lib:$ld_library_path
export include=/opt/boost/1.63.0/include:$include
#glog for caffe
export ld_library_path=/opt/glog/lib:$ld_library_path
export include=/opt/glog/include:$include
#gflags for caffe
export ld_library_path=/opt/gflags/lib:$ld_library_path
export include=/opt/gflags/include:$include
#lmdb for caffe
export path=/opt/lmdb/bin:$path
export ld_library_path=/opt/lmdb/lib:$ld_library_path
export include=/opt/lmdb/include:$include
export manpath=/opt/lmdb/share/man:$manpath
linux下基於docker安裝caffe並使用
安裝docker2參考 1 安裝 上面鏈結中有各個版本的caffe docker,隨便選擇乙個即可。我我選擇的是bvlc caffe。docker pull bvlc caffe gpu可能會出現以下錯誤 原因 執行該命令需要root許可權。解決辦法 在命令前加上sudo。2 測試 1 方式一 su...
finally 成功在電腦上配上了caffe
finally 成功在電腦上配上了caffe 獻給配置路上艱辛奮戰的人 折騰了很多天,經歷了各式各樣的錯誤,嘗試了各種各樣的方法,看了很對很多的解決方法,內心受了不知道多少煎熬,finally,i succeed 經歷了這麼多次失敗後,面對失敗慢慢開始變得坦然起來,就默默的重新來過,重灌系統,重新配...
caffe部分配置修改後,重新編譯caffe的教程
由於本人屬於手殘 所以經常會一不小把元編譯好的caffe框架弄出問題,所以也在反反覆覆的重走彎路,下面就把今天重新編譯caffe的過程寫出來跟大家分享一下。注意 make clean 以後,一定要重新安裝caffe所需的第三方依賴庫。一 重新編譯caffe的環境 除了caffe以外,需要的部分環境已...