DIGITS安装和配置
来源:互联网 发布:卖毛线比较好的淘宝店 编辑:程序博客网 时间:2024/05/16 17:44
一.前提
已安装好caffe和pycaffe
二.下载安装DIGITS
1.下载
shell终端
cd ~git clone https://github.com/NVIDIA/DIGITS.git digits
2.编译和安装对应依赖
shell终端
cd digitssudo apt-get install graphviz gunicornfor req in $(cat requirements.txt); do sudo pip install $req; done #若使用linux系统环境下的python,请使用该语句pip install -r ~/digits/requirements.txt #若使用Anaconda环境下的python,使用该语句进行更新
3.运行digits
shell终端
./digits-devserver
打开浏览器:
本机输入http://0.0.0.0:5000
所处局域网机子输入http://XX.XX.XX.XX:5000 XX.XX.XX.XX为服务器ip地址
即可访问
三.报错解决
在运行./digits-devserver若出现无法找到caffe目录的情况,解决办法是修改对应的python代码(个人认为只有这个办法,代码写的有问题)
打开:~/digits/digits/config/caffe.py
修改如下几行代码,在 load_from_envvar函数中修改代码
if platform.system() == 'Windows': executable_dir = os.path.join(value, 'install', 'bin') python_dir = os.path.join(value, 'install', 'python') else: #executable_dir = os.path.join(value, 'build', 'tools') executable_dir = '/home/user/caffe/build/tools' #对应自己的目录进行修改 #python_dir = os.path.join(value, 'python') python_dir = '/home/user/caffe/python' #对应自己目录进行修改
0 1
- DIGITS安装和配置
- Ubuntu16.04+caffe+digits安装配置
- Ubuntu16.04+caffe+digits安装配置
- Digits 安装
- digits本地配置+Anaconda,Theano, Tensorflow, Keras的安装
- caffe 工具digits安装
- Ubuntu中安装digits
- 安装nvidia digits
- NVIDIA DIGITS 安装
- Win10 安装 digits
- ubuntu14.04安装caffe+digits
- Ubuntu下安装CAFFE-Digits
- 安装Windows digits问题列表
- Ubuntu 16.04 安装 NVIDIA DIGITS
- 在ubuntu上配置cuda+cudnn+caffe(包括python和matlab接口)+digits
- caffe使用过程+digits在windows下的安装和运行
- caffe使用过程+digits在windows下的安装和运行
- cvsnt安装和配置
- 嵌入式开发叙述
- 服务器(多GPU)caffe安装和编译
- 【Unity&NGUI】背包系统物品的累加
- Consul 入门笔记
- Read File in Python
- DIGITS安装和配置
- 关于逐项作用函数的用法
- 新手看Mockplus2.3
- markdown改变字体颜色和大小
- LeetCOde231&326详细分析并附求解代码
- AFNetworking3.1.0源码分析(十四)AFHTTPSessionManager
- 多线程,线程池,使用CompletionService通过Future来处理Callable的返回
- xutils的http模块
- 8VC Venture Cup 2017 - Elimination Round E. PolandBall and White-Red graph【枚举思维】