MhLiao / TextBoxes_plusplus

TextBoxes++: A Single-Shot Oriented Scene Text Detector
Other
956 stars 281 forks source link

TypeError: __new__() got an unexpected keyword argument 'file' #95

Open EricDoug opened 6 years ago

EricDoug commented 6 years ago

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'

EricDoug commented 6 years ago

my python version was 2.7.12