Skip to content

ComplexAbs and Resize antialias errors #2368

Open
@ZachZhao96

Description

@ZachZhao96

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:
image

however, I got two error messages shown below:
image

The first error says that ComplexAbs doesn't expect the same dimesion input as tf.abs used. This is not an issue for opset -13, so i hope this is just a bug.

then, the second one says antialias for resize is not supported. I wonder if the antialias supported in Resize Op is the same as the tf.image.resize(..., antialias = True).
image

Here is the resize bilinear with antialias example in ONNX documentation.
image

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions