[email protected]:~/object_detection_5cls/caffe/python$ python draw_net.py ../examples/mnist/lenet_train_test.prototxt lenet.png
Traceback (most recent call last):
File "draw_net.py", line 8, in <module>
import caffe
File "/home/ezio/object_detection_5cls/caffe/python/caffe/__init__.py", line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/home/ezio/object_detection_5cls/caffe/python/caffe/pycaffe.py", line 13, in <module>
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: /home/ezio/object_detection_5cls/caffe/python/caffe/../../build/lib/libcaffe.so.1.0.0-rc3: undefined symbol: _ZNK7leveldb6Status8ToStringB5cxx11Ev
Ich habe ran make pycaffe; make all; make test; make runtest
und diese sind alle bestanden. MNIST und CIFAR10 Demo sind auch wie erwartet. , aber wenn ich versuche, das Netz zu zeichnen, trat ein Fehler wie oben auf. Ich installierte libleveldb
von sudo apt-get install libleveldb-dev
Kann mir jemand helfen?Fehler bei der Ausführung "Python Draw_net.py"