如何将数字的根定义为数字?

时间:2016-12-12 12:27:44

标签: caffe nvidia-digits

我在ubuntu 16.04,python 2.7,cuda 8上安装了caffe,并测试了mnist。它运作良好。

现在我要安装数字。我安装了它但是当我./digits-devserver时,它会给我以下错误:

@pc2user:~/digits$ ./digits-devserver
   ___ ___ ___ ___ _____ ___
  |   \_ _/ __|_ _|_   _/ __|
  | |) | | (_ || |  | | \__ \
  |___/___\___|___| |_| |___/ 5.1-dev

Did you forget to "make pycaffe"?
"/home/user/caffe-master" from CAFFE_ROOT does not point to a valid   installation of Caffe.
Use the envvar CAFFE_ROOT to indicate a valid installation.
Traceback (most recent call last):
  File "/home/user/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/user/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/home/user/digits/digits/__main__.py", line 70, in <module>
main()
  File "/home/user/digits/digits/__main__.py", line 53, in main
import digits.config
  File "digits/config/__init__.py", line 7, in <module>
from . import (  # noqa
  File "digits/config/caffe.py", line 226, in <module>
executable, version, flavor = load_from_envvar('CAFFE_ROOT')
  File "digits/config/caffe.py", line 37, in load_from_envvar
import_pycaffe(python_dir)
  File "digits/config/caffe.py", line 126, in import_pycaffe
import caffe
  File "/home/user/caffe-master/python/caffe/__init__.py", line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
  File "/home/user/caffe-master/python/caffe/pycaffe.py", line 13, in <module>
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: /home/user/anaconda2/lib/python2.7/site-packages/scipy/special/../../../../libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/user/caffe-master/python/caffe/_caffe.so)
user@pc2user:~/digits$ 

此外,这是我的~/.profileenter image description here

请帮助我找出如何将数字的根定义为数字。

0 个答案:

没有答案