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