Skip to content

Which format does exported model use? #125

Closed

Description

@ChangweiZhang

can I get a onnx model by using ML.NET?

Activity

  1. GalOshri commented on May 11, 2018

    @GalOshri
    Contributor

    Not yet, but exporting ML.NET models to ONNX is on the roadmap. Is there a particular model/pipeline that you need to export to ONNX?

  2. ChangweiZhang commented on May 11, 2018

    @ChangweiZhang
    Author

    According to the API reference, the class PredictionModel have a WriteAsync method and I can write model to file in binary format. What is the format?

  3. justinormont commented on May 11, 2018

    @justinormont
    Contributor

    The format is a binary descriptor of the transforms and learner for the trained pipeline; create one and unzip it. As @GalOshri says, the ONNX output format is on the roadmap. We're always interested in what folks are looking for; any particular interest in ONNX? Or mainly just want to explore the output formats?

  4. GalOshri commented on May 11, 2018

    @GalOshri
    Contributor

    Adding to what @justinormont mentioned: the WriteAsync method saves the model as a zip file. You can then use ReadAsync to use the model in a different project.

  5. turowicz commented on May 11, 2018

    @turowicz

    Interoperability with models trained in on different stack?

  6. GalOshri commented on May 12, 2018

    @GalOshri
    Contributor

    @turowicz which stack do you have in mind?

  7. added
    questionFurther information is requested
    and removed
    enhancementNew feature or request
    on May 14, 2018
  8. enghch commented on May 15, 2018

    @enghch

    I'd like onnx to make it easy to consume my model with Windows ML to get the automatic hardware acceleration detection.

  9. added this to the 0518 milestone on May 29, 2018
  10. modified the milestones: 0518, 0618 on May 29, 2018
  11. ghost locked as resolved and limited conversation to collaborators on Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions