close

下載 caffe 後安裝

mkdir build

cmake -Dblas=open -Dpython3_version=3 ..

make -j4

sudo make install

如果遇到這個事情

  File "/usr/lib/python3/dist-packages/scipy/spatial/_plotutils.py", line 4, in <module>
    from scipy._lib.decorator import decorator as _decorator
ImportError: No module named 'scipy._lib.decorator'

猜測是scipy的版本有問題

pip3 list scipy

如果看到的是0.xx的版本,請將他移除

然後重新安裝

 

arrow
arrow
    文章標籤
    ubuntu 1604 caffe python3
    全站熱搜
    創作者介紹
    創作者 stephenwei 的頭像
    stephenwei

    stephenwei的部落格

    stephenwei 發表在 痞客邦 留言(0) 人氣()