安装digits
digits是caffe的一個可視化工具,可使我們對caffe的操作變得方便容易。
1).獲取digits安裝包 DIGITS_ROOT=~/digits git clone https://github.com/NVIDIA/DIGITS.git $DIGITS_ROOT 2).安裝digits及依賴項 cd digits sudo apt-get install graphviz gunicorn for req in $(cat requirements.txt); do sudo pip install $req; done?3).打開digits
./digits-devserver
報錯
解決方案
#檢查當前envvar的值
$ echo $CAFFE_ROOT
#把envvar加到~/.profile中,下次當你登錄時會自動加載
$ echo "export CAFFE_ROOT=/home/username(我的賬戶名)/caffe/" >> ~/.profile
# Load the new configuration
#加載新配置
$ source ~/.profile
#檢查新配置
$ echo $CAFFE_ROOT
/home/username/caffe/
?重新啟動digits
在網頁上輸入http://localhost:5000即可打開界面。
?
?
?
總結
- 上一篇: php用ajax方式实现四级联动
- 下一篇: oracle服务器找不到怎么解决,简析O