Giter Site home page Giter Site logo

Plans for Supporting Torch about onnx HOT 7 CLOSED

onnx avatar onnx commented on May 21, 2024
Plans for Supporting Torch

from onnx.

Comments (7)

soumith avatar soumith commented on May 21, 2024

we have no plans of supporting lua torch, and are unlikely to look into it.

from onnx.

sbodenstein avatar sbodenstein commented on May 21, 2024

Ok, thanks for the rapid response!

from onnx.

ezyang avatar ezyang commented on May 21, 2024

However, we are planning to support importing onnx models into PyTorch. The priority for this particular feature is not high, but we may need it for some high priority work that is going on.

from onnx.

jsenellart avatar jsenellart commented on May 21, 2024

Hello, I am willing to work on converting lua-torch models to ONNX - at least in the context of the OpenNMT project for which it should be pretty straightforward. @soumith - is there some entry point on how to write a converter to ONNX?

from onnx.

linkerzhang avatar linkerzhang commented on May 21, 2024

There're several xxx -> onnx converters in our repo, which you may want to refer to please. https://github.com/onnx/onnxmltools covers converting core-ml/scikit-learn models to onnx.
https://github.com/onnx/tensorflow-onnx covers converting tf models to onnx.

Of course, they're not having 100% coverage.

from onnx.

jsenellart avatar jsenellart commented on May 21, 2024

thanks - I will give a try.

from onnx.

jsenellart avatar jsenellart commented on May 21, 2024

Hello, I have a first draft of luatorch > onnx extraction here: https://github.com/jsenellart/luatorch-onnx-convert. Still work in progress, but it works end-to-end and converts discovered nn, nngraph and onmt modules to onnx - infering shapes when necessary, and building initializers. Contact me if you need specific support.

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.