Closed codethief closed 3 years ago
Can you pull keras2onnx master and try?
$ pip3 install git+https://github.com/microsoft/onnxconverter-common@1.8.0#egg=onnxconverter-common
$ pip3 install git+https://github.com/onnx/keras-onnx@63f3b5085273787ca464d436401151f813f7f636#egg=keras2onnx
$ python3 -m keras2onnx.cli my_keras_model.h5 --output_file model.onnx --opset 11
did the trick! Thank you so much!
I installed keras-onnx 1.7.0 on Ubuntu 20.04 / Python 3.6.12 and tried to convert a model using
keras2onnx.cli
. Unfortunately, it failed before it even got to converting the model:I would appreciate any help!