Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf2onnx support for tensorflow Resizing "area" method #2239

Closed
ZachZhao96 opened this issue Sep 14, 2023 · 1 comment · Fixed by #2241
Closed

tf2onnx support for tensorflow Resizing "area" method #2239

ZachZhao96 opened this issue Sep 14, 2023 · 1 comment · Fixed by #2241
Labels
enhancement New feature or request

Comments

@ZachZhao96
Copy link

Hi,

I had an error message when I tried converting my TensorFlow.Keras model to ONNX format using tf2onnx and ONNX, I realized that the Resizing "area" method used in my model architecture is not supported by ONNX and tf2onnx. I have tried retraining the model using other resizing methods like 'Bilinear' and "Nearest". Neither of them gave me good validation and testing results compared to "Area". I wonder if there is a chance to have tf2onnx support the ResizeArea method for tensorflow.keras.layers.Resizing and tensorflow.image.resize in the future.

image

Thank you,

Zachary Zhao

@ZachZhao96 ZachZhao96 added the enhancement New feature or request label Sep 14, 2023
@fatcat-z
Copy link
Collaborator

microsoft/onnxruntime#17564 has been filed since one mode doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants