There is a newer version of the record available.

Published September 25, 2022 | Version 1.5.28

Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC)

Authors/Creators

Description

Solves the problem of TensorFlow runtime abort during inference when DepthwiseConv2D is generated with different values of strides in the row and column directions, such as [1,2] or [2,1] strides. DepthwiseConv2D seems to work correctly only when all strides have the same value. In this case, GroupConvolution is generated.

  • e.g. TensorFlow (Keras) - DepthwiseConv2D error message ``` Current implementation only supports equal length strides in the row and column dimensions. [Op:DepthwiseConv2dNative]

Call arguments received by layer "tf.compat.v1.nn.depthwise_conv2d_3" " f"(type TFOpLambda): • input=tf.Tensor(shape=(3, 18, 82, 64), dtype=float32) • filter=tf.Tensor(shape=(3, 3, 64, 1), dtype=float32) • strides=['1', '2', '1', '1'] • padding='VALID' • rate=['1', '1'] • name=None • data_format=None • dilations=None ```

What's Changed

Full Changelog: https://github.com/PINTO0309/onnx2tf/compare/1.5.27...1.5.28

Notes

If you use onnx2tf in your research, please cite it using these metadata.

Files

PINTO0309/onnx2tf-1.5.28.zip

Files (447.5 kB)

Name Size Download all
md5:fcd914ce76acd33eca94ac4755c5d31f
447.5 kB Preview Download

Additional details

Related works