Giter Site home page Giter Site logo

Convert onnx model err about mnn HOT 4 CLOSED

alibaba avatar alibaba commented on May 17, 2024
Convert onnx model err

from mnn.

Comments (4)

czy2014hust avatar czy2014hust commented on May 17, 2024

OK, get it. NOW not support for converting Prelu in ONNX model,will be added later! (Appreciate that You contribute to this work 😊)

from mnn.

do-van-long avatar do-van-long commented on May 17, 2024

I hava compiled the mnn converter successful. When i convert a onnx model to mnn use :

./MNNConvert -f ONNX --modelFile mobilefacenet.onnx --MNNModel mobilefacenet.mnn --bizCode MNN

and i face this error:
MNNConverter Version: 0.0.0.1 - MNN @ 2018

Start to Convert Other Model Format To MNN Model...
[09:36:17] /home/yuanhao/osc/MNN/tools/converter/source/onnx/onnxConverter.cpp:29: ONNX Model ir version: 3
terminate called after throwing an instance of 'Error'
what(): [09:36:17] /home/yuanhao/osc/MNN/tools/converter/source/onnx/onnxConverter.cpp:83: Check failed: opConverter ==> MNN Converter NOT_SUPPORTED_OP: [ PRelu ]
Aborted (core dumped)

How can i solve this problem, thanks!

Hi @nullian ,
How (or where) did you get mobilefacenet.onnx model. I have tried to convert original MXNET models (from insightface) to ONNX models but not successful.
Could you please send me your mobilefacenet.onnx model?
Many thanks.

from mnn.

lucasjinreal avatar lucasjinreal commented on May 17, 2024

Hi, may I ask how does the Conv op converter registered? Since the Convolution only supported caffe and Tensorflow.

image

how does onnx conv parsed?

from mnn.

lvZic avatar lvZic commented on May 17, 2024

PRELU OP not supported when cvting from TFLITE model

from mnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.