-
Notifications
You must be signed in to change notification settings - Fork 431
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
Support tf ResizeArea op. #2241
Conversation
Signed-off-by: Jay Zhang <jiz@microsoft.com>
Signed-off-by: Jay Zhang <jiz@microsoft.com>
Thank you very much. So, does the current version on the PyPI support the ResizeArea after this commit got merged? or do I expect to see the area method support in the next release? |
This commit has been merged and will be available in next release which is not in a plan yet. If you want this function, you can install from source for your local usage. |
I successfully converted my model to onnx using the new version, but when using onnxruntime for inference, the prediction result is way off compared to the result from the regular keras model.predict. I guess I will have to wait for onnx or onnxruntime to have the ResizeArea method in Resize operation as well. Look forward to the next release. Really appreciate your time. |
* Support ResizeArea op. Signed-off-by: Jay Zhang <jiz@microsoft.com> --------- Signed-off-by: Jay Zhang <jiz@microsoft.com> Signed-off-by: Me <me@example.com>
* Support ResizeArea op. Signed-off-by: Jay Zhang <jiz@microsoft.com> --------- Signed-off-by: Jay Zhang <jiz@microsoft.com> Signed-off-by: Me <me@example.com>
* Support ResizeArea op. Signed-off-by: Jay Zhang <jiz@microsoft.com> --------- Signed-off-by: Jay Zhang <jiz@microsoft.com> Signed-off-by: Me <me@example.com>
* Support ResizeArea op. Signed-off-by: Jay Zhang <jiz@microsoft.com> --------- Signed-off-by: Jay Zhang <jiz@microsoft.com> Signed-off-by: Me <me@example.com>
@fatcat-z Hi, has resize_area method been included in the latest ONNX and supported by tf2onnx yet? I couldn't find anything regarding the resize_area in either onnx or tf2onnx documentation except for the test_backend file you committed last time. I dont see any error message when i convert my keras model (with resize_area method) to onnx using tf2onnx.convert.from_keras(model,opset=13), however it seems that the "resize_area" method is recognized as "bilinear" because the inference result from the converted ONNX model is different from the original keras model. |
No, resize_area is not an ONNX op. |
Add support for ResizeArea op, and add tests.
Fix #2239