I wanna run demo.py on Ubuntu 16.04, but got the error as Follow:
~TextBoxes_plusplus$ python examples/text/demo.py
Traceback (most recent call last):
File "examples/text/demo.py", line 18, in
import caffe
File "python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "python/caffe/pycaffe.py", line 15, in
import caffe.io
File "python/caffe/io.py", line 8, in
from caffe.proto import caffe_pb2
File "python/caffe/proto/caffe_pb2.py", line 1097, in
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\020\001')), file=DESCRIPTOR),
TypeError: new() got an unexpected keyword argument 'file'
I wanna run demo.py on Ubuntu 16.04, but got the error as Follow:
~TextBoxes_plusplus$ python examples/text/demo.py Traceback (most recent call last): File "examples/text/demo.py", line 18, in
import caffe
File "python/caffe/init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "python/caffe/pycaffe.py", line 15, in
import caffe.io
File "python/caffe/io.py", line 8, in
from caffe.proto import caffe_pb2
File "python/caffe/proto/caffe_pb2.py", line 1097, in
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), _b('\020\001')), file=DESCRIPTOR),
TypeError: new() got an unexpected keyword argument 'file'