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 16, 2023. It is now read-only.
@christophstach You will have to implement Upsample() by Concat() ops. Here is a working ONNX.js Fast Neural Style. Still buggy but should work ok on desktop browsers.
I am still working on putting up the modified PyTorch code to GitHub. Should be done soon.
Thanks to @gnsmrky for the explaination. According to latest ONNX spec, Unsample is deprecated in opset v10. Is there an equivalent alternative operator does the same thing?
@christophstach Take a look at my PyTorch fast-neural-style (FNS) for Web. I've put up all the details to make the PyTorch FNS work with ONNX.js. Some network model tweaking methods for running in browsers are mentioned. Should give you a good reference to make it run with ONNX.js.
When using a style transfer model compiled to onnx, I get the following Error in onnxjs 0.1.5:
core.js:15724 ERROR Error: Uncaught (in promise): TypeError: unrecognized operator 'Upsample'
TypeError: unrecognized operator 'Upsample'
I am using the pytorch function
which is translated to the onnx Upsample operator, wich is not supported in onnxjs yet.
The text was updated successfully, but these errors were encountered: