GithubHelp home page GithubHelp logo

ONNX format documentation about onnx HOT 5 CLOSED

onnx avatar onnx commented on May 22, 2024 2
ONNX format documentation

from onnx.

Comments (5)

migueldeicaza avatar migueldeicaza commented on May 22, 2024 4

You can use Google's protoc tool to dump the contents of an ONNX file, like this:

protoc --decode=onnx.ModelProto onnx.proto < mobilenetv2-1.0.onnx

In the above example:

from onnx.

ezyang avatar ezyang commented on May 22, 2024 2

Hi @cdeterman, ONNX is a protobuf format, so it's format is "self-documented" in the ONNX protobuf file: https://github.com/onnx/onnx/blob/master/onnx/onnx.proto

Please reopen this if you need more info.

from onnx.

charanpool avatar charanpool commented on May 22, 2024

Can you tell me how the network(trained or going to be trained) is stored inside an onnx file, Specifically the format in which it is going to be present inside a .onnx file type.

from onnx.

lrog avatar lrog commented on May 22, 2024

Hi @ezyang
Thanks for the info. If you are trying to address the problem of model persistence and exchange format for "industry" it would be really great, however, to include some form of documentation about the format itself. Or at least to have a pointer on the official website for "Documentation", let it be even containing few paragraphs about the ONNX definition in protobuf.

from onnx.

prasanthpul avatar prasanthpul commented on May 22, 2024

did you already review https://github.com/onnx/onnx/tree/master/docs, specifically https://github.com/onnx/onnx/blob/master/docs/IR.md ?

Good idea to link from main website.

from onnx.

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.