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

How to convert ONNX "Upsample" to MNN "interp"? #49

Closed
Wilbur529 opened this issue May 11, 2019 · 4 comments
Closed

How to convert ONNX "Upsample" to MNN "interp"? #49

Wilbur529 opened this issue May 11, 2019 · 4 comments

Comments

@Wilbur529
Copy link

Hi,
When I tried to convert my ONNX model to MNN model, i got the following error:
Check failed: opConverter ==> MNN Converter NOT_SUPPORTED_OP: [ Upsample ].
But i found there is an "interp" operator in MNN supported Op-list.
image
I think both of them have the same function. Could you give me some suggestions for fixing it?

@jxt1234
Copy link
Collaborator

jxt1234 commented May 11, 2019

You can ref to doc/AddOp_EN.md . "ONNX Model Convert"

And add Op conversion.

@Wilbur529
Copy link
Author

@jxt1234 Thx! I'll try it!
Could you give me some more suggestions about it?
image
If i want to add the OP from ONNX, which *.fbs i should choose to add parameter description?

@czy2014hust
Copy link
Collaborator

TensorflowOp.fbs

@jxt1234
Copy link
Collaborator

jxt1234 commented May 11, 2019

"If i want to add the OP from ONNX, which *.fbs i should choose to add parameter description?"

For up sampler there is an Interp Op. Needn't change fbs

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