- Notifications
You must be signed in to change notification settings - Fork 391
Open
Labels
javascriptPull requests that update Javascript codePull requests that update Javascript code
Description
- Mac M1 Pro running Sonoma 14.2.1
- Chrome 120.0.6099.129
- 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.
Metadata
Metadata
Assignees
Labels
javascriptPull requests that update Javascript codePull requests that update Javascript code