keras-onnx icon indicating copy to clipboard operation
keras-onnx copied to clipboard

Import problem with protobuf

Open evrial opened this issue 5 years ago • 0 comments

Python 3.7.5 (default, Oct 25 2019, 10:52:18) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import keras2onnx 
   ...:                                                                                                                                                                           
[libprotobuf ERROR google/protobuf/descriptor_database.cc:394] Invalid file descriptor data passed to EncodedDescriptorDatabase::Add().
[libprotobuf FATAL google/protobuf/descriptor.cc:1356] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
Abort trap: 6

TF, keras2onnx and protobuf all most recent versions OS Mac latest update Yes, i did reinstall, it does not help pip3 uninstall tensorflow protobuf && pip3 install tensorflow protobuf

evrial avatar Oct 27 '20 14:10 evrial