Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] max_unpool2d not supported #44

Open
EyalEnav opened this issue Feb 13, 2020 · 3 comments
Open

[BUG] max_unpool2d not supported #44

EyalEnav opened this issue Feb 13, 2020 · 3 comments

Comments

@EyalEnav
Copy link

Hi,
I am seeing:
onnx.onnx_cpp2py_export.checker.ValidationError: No Op registered for max_unpool2d with domain_version of 9

==> Context: Bad node spec: input: "276" input: "281" input: "284" output: "285" op_type: "max_unpool2d"

The model is plain pytorch segnet

@daquexian
Copy link
Owner

Thanks for your report!

Could you please send your onnx model to daquexian566@gmail.com? Thanks

@ahangchen
Copy link

@daquexian I‘m using grid sample op in pytorch, when converted to onnx, I write a custom op like: this. is there any way to add custom op in onnx_simpiler?

@daquexian
Copy link
Owner

daquexian commented Feb 6, 2021

@ahangchen Thanks for your question. onnx-simplifier v0.3.0 allows you add custom onnx op through onnxruntime plugin. If your custom op is implemented as an onnxruntime plugin, you can upgrade your onnxsim version and pass --custom-lib the_path_of_the_lib when running onnxsim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants