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
Example webpage fails in Javascript with
Uncaught (in promise) Error: failed to call OrtRun(). ERROR_CODE: 2, ERROR_MESSAGE: Invalid rank for
input: input_image Got: 4 Expected: 3 Please fix either the inputs/outputs or the model.
The same webpage/example works fine with Safari
I tried fixing the main.js to reduce the rank to 3 (removing batch dimension), but a second error popped up indicating the tensor should be HWC, but instead the Tensor was CHW.