onnx2keras
onnx2keras copied to clipboard
Convert ONNX model graph to Keras model format.
Hello, My versions are, + onnx2keras == 0.0.24 + Python == 3.8.5 + TensorFlow == 2.5.0 + onxx == 1.9.0 Code: ``` import onnx from onnx2keras import onnx_to_keras onnx_model =...
Traceback (most recent call last): File "D:/onnx2keras-master/dd.py", line 8, in k_model = onnx_to_keras(onnx_model, ['input']) File "D:\onnx2keras-master\onnx2keras\converter.py", line 182, in onnx_to_keras keras_names File "D:\onnx2keras-master\onnx2keras\reshape_layers.py", line 30, in convert_transpose layers[node_name] = permute(layers[input_name])...
i was trying to convert onnx model to keras model i was getting error i tried several methods but no use. needed help from community below i am providing the...
Fix issue with ONNX layer names containing characters which TF doesn't like, for example the : character. This should fix #143 and #134
When `in_channels != out_channels` the `depth_multipler` parameter must be set and the weights reshaped accordingly
The purpose of this PR is to convert Keras Lambda layers in Keras specific layers when converting global avg pooling operation We are converting here Lambda layer that expanded dimensions...
In `reshape_layers.convert_concat` function, there is an except clause that catches every exception ([link](https://github.com/gmalivenko/onnx2keras/blob/45c81f221bb4228751abb061cb24d473bb74a8e8/onnx2keras/reshape_layers.py#L115)). What is the type of exception encountered and when does this happen ? This clause should be...
When one saves a converted Keras model with `Lambda` layers to disk and loads it in a completely separate environment, one will get errors like `TypeError: Exception encountered when calling...
Apple silicon uses pip install tensorflow-macos , the regular tensorflow requirement causing issue
I tried to use the following code to change my onnx model to a keras model. I am using tensorflow version 2.1.0. My model is a densenet model that has...