NVIDIA / DIGITS

Deep Learning GPU Training System
https://developer.nvidia.com/digits
BSD 3-Clause "New" or "Revised" License
4.12k stars 1.38k forks source link

[SOLVED] DIGITS devserver problem #1965

Open souhhano opened 6 years ago

souhhano commented 6 years ago

Hello all,

I am trying to install the necessary for DIGITS, while trying to lunch the devserver I get this error :


| _ _/ | | / | | |) | | ( || | | | _ \ |/___|_| || |/ 6.1.0

"/home/souheil/caffe" 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 "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/souheil/Projets/DIGITS/digits/main.py", line 70, in main() File "/home/souheil/Projets/DIGITS/digits/main.py", line 53, in main import digits.config File "digits/config/init.py", line 7, in from . import ( # noqa File "digits/config/caffe.py", line 226, in 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/souheil/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver File "/home/souheil/caffe/python/caffe/pycaffe.py", line 15, in import caffe.io File "/home/souheil/caffe/python/caffe/io.py", line 8, in from caffe.proto import caffe_pb2 File "/home/souheil/caffe/python/caffe/proto/caffe_pb2.py", line 919, in options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\020\001')), file=DESCRIPTOR), TypeError: new() got an unexpected keyword argument 'file'

The problem seem to be coming from Caffe, however I tried reinstalling caffe with the script provided in the repository.

Any idea on what is going on ?

I am running on an Ubuntu 16.04.

Thanks.

JanySunny commented 6 years ago

Hi, I have the same problem. Have you solved it? How?

souhhano commented 6 years ago

Hi, no I didn't, I am still stuck on it. It is probably a version problem but I cannot figure out the library involved. If you have any insight please let me know.

JanySunny commented 6 years ago

I try to set my own caffe (not the NVIDIA CAFFE)as CAFFE_ROOT and PYTHONPATH , and it works and "./digits-devserver" can output: "Tensorflow support disabled. 2018-03-06 20:07:13 [INFO ] Loaded 0 jobs." However, I cannot open the link "http://localhost:5000/". It is so weird. If you have another better ideas, please let me know. Thanks~

souhhano commented 6 years ago

Found my problem, it was the define of CAFFE_ROOT too, it was linked to my install of Caffe where I did a "sudo make install" instead of a "make install", therefore the libraries were not accessible.

clydebailey commented 5 years ago

@souhhano can you elaborate on the solution? I have installed a caffe docker for the purpose of using digits