You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In onnx, the first parameter of options is the input to the image, the second is scale, and the third is sizes. Here you construct Resize to get optional_scales_input and optional_sizes_input.
You should only skip the first parameter of options, but skip both of them. This will fail to get the parameters as shown in the image below.
So I think it should be changed to something like this:
Can you try to reproduce on tract's top of tree ? I have already refactored the Resize parsing to adapt to the various iteration of ONNX Resize spec...
Hi developer, I may have found a bug in line 25 of onnx/src/ops/resize.rs. The code is as follows:
In onnx, the first parameter of options is the input to the image, the second is scale, and the third is sizes. Here you construct Resize to get optional_scales_input and optional_sizes_input.
You should only skip the first parameter of options, but skip both of them. This will fail to get the parameters as shown in the image below.
So I think it should be changed to something like this:
The text was updated successfully, but these errors were encountered: