-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
grid_sample 输出结果与torch的不一致 #58907
Comments
升级torch版本至2.1.0,可以对齐~ |
@zhiminzhang0830 @wangna11BD 可以请问一下为什么无法和torch 2.1.0 之前的结果对齐吗,我在给 openvino 支持 paddle2.5.1 的时候也遇到了这个问题 当 padding_mode='border' 的时候,有时候 grid_sample 的值无法和 openvino 端输出的值对齐,在 openvino 中 paddle 和 torch 对于 grid_sample 这个算子的写法是一样的,torch 就可以通过相关单侧 |
Since you haven't replied for more than a year, we have closed this issue/pr. |
相同的输入数据条件下,paddle和torch的grid_sample输出结果不一致,diff 为13。
gpu diff: 13.0
cpu diff: 13.0
其他补充信息 Additional Supplementary Information
torch版本:1.12.1
paddle版本:2.5.2
input.npy 和 vgrid.npy 可以从此处下载
The text was updated successfully, but these errors were encountered: