Open nrauch opened 3 years ago
Same issue here
Also experiencing this same issue! A Keras.applications ResNet50 model that is first saved to disk and reloaded seems to break keras2onnx.
Any help would be appreciated. The same model converts properly in tf2onnx.
I had a similar problem.
I was trying to copy weights from model1 to model2 and convert the model2 to ONNX, then it raised the error must be str, not NoneType
.
Strangely, I was able to avoid the error by creating model2 before model1.
I am trying to convert a Keras model developed with Tensorflow 2.3.1. When converting the model using
onnx_model = keras2onnx.convert_keras(model, 'fasttext-onnx', debug_mode=1)
I get the error in the title. Following the entire error track:It is not clear to me what it is None and I hope you can help me.
Thanks!