onnx-tensorflow icon indicating copy to clipboard operation
onnx-tensorflow copied to clipboard

Tensorflow Backend for ONNX

Results 136 onnx-tensorflow issues
Sort by recently updated
recently updated
newest added

Please find the error log: ``` RuntimeError: in user code: /usr/local/lib/python3.6/dist-packages/onnx_tf/backend_tf_module.py:98 __call__ * output_ops = self.backend._onnx_node_to_tensorflow_op(onnx_node, /usr/local/lib/python3.6/dist-packages/onnx_tf/backend.py:289 _onnx_node_to_tensorflow_op * return handler.handle(node, tensor_dict=tensor_dict, strict=strict) /usr/local/lib/python3.6/dist-packages/onnx_tf/handlers/handler.py:58 handle * cls.args_check(node, **kwargs) /usr/local/lib/python3.6/dist-packages/onnx_tf/handlers/backend/gru.py:68 args_check...

Hello, I want to convert a model from onnx to pb format in tensorflow. The following error occurs here: ```python File "/Users/.../convert_model.py", line 72, in convert_onnx2pb() File "/Users/.../convert_model.py", line 44,...

I need to convert onnx model to saved model. I use the example which is ok but not saved model onnx_model = onnx.load(onnx_path) # load onnx model onnx.checker.check_model(onnx_model) tf_rep =...

Dear all, I have a working .onnx model (opset 11) and I want to convert it into a .pb model. I used the following command for the conversion: > onnx-tf...

**Describe the bug** I convert my onnx to tf saved model by onnx-tensorflow. When I tested by onnx_tf, it runs successfully: _# onnx_model = onnx.load("./rvm_144*256.onnx") # load onnx model #...

**Reproduce** details: https://github.com/zlqhem/example-pytorch2tf/blob/master/pytorch2tf.ipynb 1. pytorch -> ONNX ``` model = torchvision.models.mobilenet_v2(pretrained=True).cuda() torch.onnx.export(model, dummy_input, MODEL_ONNX, verbose=True, input_names=input_names, output_names=output_names) ``` ![onnx model](https://github.com/zlqhem/example-pytorch2tf/raw/master/mobilenet_v2.onnx.png) 2. ONNX -> tensorflow ``` onnx-tf convert -i mobilenet_v2.onnx -o...

**TLDR;** How can I convert an ONNX file into a TF2 SavedModel using `onnx_tf`? ## Issue I'm trying to load an exported model but it's loading as `_UserObject` instead of...

Hello, I converted pytorch model with grid_sample function to onnx. It was custom build with PyTorch v1.12.0-dev and onnxruntime v1.12.0-dev - **opset=16** See this issue for detail: [https://github.com/microsoft/onnxruntime/issues/10232](url) But now...

I trained a custom YOLOv5s model on Google Colab and I'm trying to convert the onnx file to a tf file so that I can subsequently convert it to a...

Hey everybody, I would like to convert my model .onnx to tflite. I read that in order to do this I need to convert my model first in .pb format...