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
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
MXNet conv currently assumes a tuple of 2 elements (height, width), while ONNX uses a tuple of 4 elements (left, right, top, bottom). Currently, when MXNet loads a ONNX model, it still uses a padding tuple of 4 elements.
The current implementation of MXNet conv doesn't check the number of elements in the tuple and just uses the first two elements in the tuple. For symmetric padding, this issue is currently ignored by MXNet.
The ideal solution should be:
fix the ONNX converter so that it loads the padding correctly, so MXNet always gets a padding tuple with 2 elements.
check the parameters of the operators to make sure the inputs are correct.
@ThomasDelteil said there are some potential use cases that might require padding of (left, right, top, bottom).
MXNet conv currently assumes a tuple of 2 elements (height, width), while ONNX uses a tuple of 4 elements (left, right, top, bottom). Currently, when MXNet loads a ONNX model, it still uses a padding tuple of 4 elements.
The current implementation of MXNet conv doesn't check the number of elements in the tuple and just uses the first two elements in the tuple. For symmetric padding, this issue is currently ignored by MXNet.
The ideal solution should be:
@ThomasDelteil said there are some potential use cases that might require padding of (left, right, top, bottom).
@eric-haibin-lin @piiswrong @lupesko
The text was updated successfully, but these errors were encountered: