onnx2keras icon indicating copy to clipboard operation
onnx2keras copied to clipboard

Convert ONNX model graph to Keras model format.

Results 113 onnx2keras issues
Sort by recently updated
recently updated
newest added

I'm trying to convert the official *[monodepth2](https://github.com/nianticlabs/monodepth2)* model to Keras. The model is super simple and there's a `simple_test.py` which you could get a demo with one click. The weights...

Hi, I am working on the conversion of onnx to keras, until I got this error message: ``` ... DEBUG:onnx2keras:Check input 0 (name 73). DEBUG:onnx2keras:... found all, continue --------------------------------------------------------------------------- KeyError...

Hi, congrats for the amazing work! **Problem** I'm using your software to convert a mobilenet based segmentation network from pytorch to tflite (pytorch > onnx > keras > frozen_graph >...

I am trying to convert a ONNX file to Keras using this *onnx2keras* functionality: `k_model = onnx_to_keras(model, ['data'])` But I get an error message saying: > ~\AppData\Local\Continuum\anaconda3\lib\site-packages\onnx2keras\converter.py in onnx_to_keras(onnx_model, input_names,...

~/june/git/onnx2keras/onnx2keras/converter.py in onnx_to_keras(onnx_model, input_names, input_shapes, name_policy, verbose, change_ordering) 275 276 keras.backend.set_image_data_format('channels_last') --> 277 model_tf_ordering = keras.models.Model.from_config(conf) 278 279 for dst_layer, src_layer, conf in zip(model_tf_ordering.layers, model.layers, conf['layers']): ~/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py in from_config(cls, config,...

This is not an issue but a feature request :)

I have a model with bilinear **upsample and instance norm** layers. It seems the latest pip package does not currently support these layers. How can i build/install latest code and...

Below there is the snippet of code I use for import and conversion: ``` import onnx from onnx2keras import onnx_to_keras onnx_model = onxx.load('UCI_simplification_1.onnx') k_model = onnx_to_keras(onnx_model, ['input_1']) ``` When I...

Hi there, I would like to add support for `Sign` and `LogSoftmax` -- I think I managed to write them up. @nerox8664 how can I test my code so I...

Hi, when converting ONNX model to Keras i am getting AssertionError: Cannot convert non-nearest upsampling Please can u tell me how to fix this?