I am trying to deploy a model in the browser for making predictions client side, once I export the model to onnx and I run in python everything works fine.
But the problem is when I run it in the browser, I always get the same prediction, and always get the following warning:
This is the input that causes the warning:
As we can see, the dims are according to the model export input (1,3,224,224). (It is a fine-tuned resnet network).
Thank you for the attention, I am sure that many of you will face the requests of deploying models on mobile/browser.