So I’ve got this autoencoder that I’ve trained and now I wanna deploy it to a website.
I came across ONNX.js and liked it because it can run natively on the browser(Saving me my much needed Student cloud credits )
However I noticed that onnx requires a dummy input so that it can trace the graph and this requires a fixed input size.
I’m almost certain that on the ONNX.js side I need the input to be the same shape.
Is there anyway around this, because I need dynamic shape inputs.
Or should I just used Flask and host the model?
I assume that can also be done for the other axes, but I haven’t tried it - my use case has images which are guaranteed to be the same size, so I don’t need it.
I have seen some discussion that would suggest this is not the case though, so maybe someone with more experience can weigh in?