-
Notifications
You must be signed in to change notification settings - Fork 455
Fix ResizeBilinear and ResizeNearestNeighbor and update related tests #2130
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
Conversation
cosineFish
commented
Mar 4, 2023
- Fix tf ResizeBilinear and ResizeNearestNeighbor op with align_corners=True or half_pixel_centers=True
- Update related tests to make input data include x.5 and add tests for align_corners=True
This PR is ready for review but there are two failed checks.
|
# TensorRT only supports nearest_mode = "floor" for mode = "nearest" | ||
transformation_mode = "half_pixel" | ||
nearest_mode = "round_prefer_ceil" | ||
transformation_mode = "tf_half_pixel_for_nn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this name for debug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which name? tf_half_pixel_for_nn? There is no name for debug. All of them are valid attributes of onnx Resize op.
https://github.com/onnx/onnx/blob/main/docs/Changelog.md#resize-11
Please fix DCO issue. |
1) Fix tf ResizeBilinear and ResizeNearestNeighbor op with align_corners=True or half_pixel_centers=True 2) Update related tests to make input data include x.5 and add tests for align_corners=True Signed-off-by: cosine <[email protected]>
Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for your contributions!