Skip to content

ConvertToOnnx options to exclude the data generation pipeline #5271

Open
@go2ready

Description

@go2ready

System information

  • OS version/distro: Windows 10
  • .NET Version (eg., dotnet --info): 4.7

Issue

  • What did you do?
    Calling mlContext.Model.ConvertToOnnx(model, colSelTrainingData2, fs);

Of which model involved data transformations pipeline like encoding, concatenating and column manipulation.

  • What happened?

All the data transformation pipeline is included in the final ONNX model, which I do not want.

  • What did you expect?

I want the model to tramsformed into an ONNX model where the InputColumn is the InputColumn that is fit to the model, excluding all the data transformations pipeline like encoding, concatenating and column manipulation before fitted to the model.

Source code / logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority of the issue for triage purpose: Needs to be fixed at some point.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions