You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.
throws "Unsupported dimension type:" error in data_types.py in method to_onnx_type.
But my input shape is (1,113) in this case for the keras model so did not understand how that can be unsupported dimensions.
I updated the onnx conversion package code like below (had to set d = dim.value) and then conversion was successful:
Hi,
I have a binary classification model with this architecture:
Built with tf.keras using tensorflow version 2.3.0
Converting to ONNX (using latest version 1.7.0):
throws "Unsupported dimension type:" error in data_types.py in method to_onnx_type.
But my input shape is (1,113) in this case for the keras model so did not understand how that can be unsupported dimensions.
I updated the onnx conversion package code like below (had to set d = dim.value) and then conversion was successful:
Can anyone help explain this. Would rather not modify the package locally. Thanks for a great package!
ENV:
The text was updated successfully, but these errors were encountered: