tensorflow-onnx
tensorflow-onnx copied to clipboard
Convert TensorFlow, Keras, Tensorflow.js and Tflite models to ONNX
**Describe the bug** When converting a tflite model to onnx format, I get the following error: ``` $ python -m tf2onnx.convert --opset 200 --tflite okay_nabu.tflite --output okay_nabu.onnx :128: RuntimeWarning: 'tf2onnx.convert'...
Hello, I have a binary classifier in TensorFlow and I converted it to ONNX using tf2onnx with the following command: python -m tf2onnx.convert --saved-model C:\example_path\pb_format --output C:\example_path\model.onnx --opset 17 When...
# Ask a Question ### Question Is there a way to label an unknown dimensions as the same across a model? For instance, if there is a `batchsize` that is...
Try to upgrade tf version to 2.18 in CI.
# New Operator GridSample ### Describe the operator GridSample is a widely used operator in PyTorch for spatial transformation and grid sampling tasks. It allows sampling and interpolation of grid...
It is necessary to keep the subgraph without output, such as the subgraph where LookupTableImportV2 is located in StaticHashTable. Because tf2onnx does not fully support StaticHashTable, may need a custom...
Since tf 2.17 version, keras._tf_keras.keras.backend.reset_uids does not exist anymore which breaks CI.
Hi, I tried the latest tf2onnx and used **tf2onnx.convert.from_keras(model,opset=19)** to convert my keras h5 model. Here is my partial code for preprocessing:  however, I got two error messages shown...
**Describe the bug** I trained a U-net style segmentation model using the exact model generation code found here: (https://keras.io/examples/vision/oxford_pets_image_segmentation/). The segmentation mask lines up properly with the input RGB image...
python -m tf2onnx.convert \ --checkpoint ./ckpt/ner.ckpt-99.meta \ --output model.onnx \ --inputs inputs_charID:[1,70],inputs_langID:[1,70],inputs_textID:[1,70],inputs_posID:[1,70],inputs_wlID:[1,70],inputs_wpID:[1,70],inputs_cwsID:[1,70] \ --outputs output:[1,-1] \ --opset 11 raise an error : assert d in name_to_node, "%s is not in...