Code Monkey home page Code Monkey logo

Comments (4)

MPolaris avatar MPolaris commented on June 15, 2024

Hello, Is the model generated normally?
I think you can ignore this WARNING message if tflite model can running normally.

from onnx2tflite.

MPolaris avatar MPolaris commented on June 15, 2024

I have tried, and the output int8 model can work normally.

from onnx2tflite.

tino926 avatar tino926 commented on June 15, 2024

Hi,

After conducting some investigations, I am confident that your tool works great.

I wanted to share some additional information for your reference.

I actually modified yolov5-6.1's exporting code by removing some final layers,
which resulted in a .onnx model with three output nodes.
However, after using your tool to convert the .onnx model,
I noticed that the order of the output nodes in the resulting .tflite model was changed.
As a result, my c++ code displayed incorrect detection results due to the
mismatched order of the anchors and output nodes.
Perhaps there is a way to improve this?

Additionally, would you consider adding the command
edgetpu_compiler -s -a [tflite file] -o [output folder]
to your project to output the edgetpu model altogether?

from onnx2tflite.

MPolaris avatar MPolaris commented on June 15, 2024

Hi.
I'm glad my tools can help you.
For yolov5, tool can work with two format models, one is 3 outputs and one is 1 output(with coordinate processing).
About order changed of outputs , I have tried some methods to make it matched, but failed...
For edgetpu_compiler, it's not in planning, because I'm not known with it, but welcome for PR.

from onnx2tflite.

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.