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

import error when i use dice-metric in medical example #1772

Open doubridge opened 7 years ago

doubridge commented 7 years ago

I0810 15:15:31.895124 27431 layer_factory.hpp:77] Creating layer dice Traceback (most recent call last): File "/home/wsq/work/digits/DIGITS/digits/jobs/20170810-151528-3299/digits_python_layers.py", line 12, in import caffe File "/home/wsq/work/digits/caffe/python/caffe/init.py", line 1, in from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver File "/home/wsq/work/digits/caffe/python/caffe/pycaffe.py", line 13, in from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ ImportError: /home/wsq/work/digits/caffe/python/caffe/_caffe.so: undefined symbol: _ZN5caffe34_PythonParameter_default_instance_E

doubridge commented 7 years ago

@lukeyeager can you help me? thank you.

lukeyeager commented 7 years ago

That's not much to go on. I'd try clearing out your Caffe build and re-building it.

doubridge commented 7 years ago

@lukeyeager hi,i rebuild the caffe,while i got the same error. my caffe and digits version is: DIGITS version: 6.0.0-rc.1 Caffe version: 0.15.13 Caffe flavor: NVIDIA thank you.

lukeyeager commented 7 years ago

Ok, can you tell me your versions of:

Read through these instructions carefully: https://github.com/NVIDIA/DIGITS/blob/master/docs/BuildDigits.md

doubridge commented 7 years ago

@lukeyeager Ubuntu 16.04 Python 2.7.12 numpy 1.11.0

PennySHE commented 6 years ago

@doubridge is there any update on this issue? how you got it fixed? i found the exactly same error prompt when i import caffe. your experience might help me get through.