-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
System information
- OS version/distro: Windows 10
Steps To Recreate The Issue
-
Create and save a PredictorModel to disk using the entry point api.
-
Try and convert the model to ONNX format using the entry point api.
-
Notice that
SaveOnnxCommand.GetPipeonly cycles through the transforms and never encounters the logistic regression node.This might be happening because
ExecuteGraphCommand.GetOutputToPathsaves aTlcModule.DataKind.PredictorModelto disk in step (1). And then,ExecuteGraphCommand.SetInputFromPathloads aTlcModule.DataKind.TransformModelfrom disk in step (2) (apparently a consequence ofSaveOnnxCommand.Arguments.Modelbeing of typeTransformModel).PredictorModelImplandTransformModelImpldon't appear to be compatible from a serialization point of view.
Source code / logs
See here for an ml.net test which demonstrates the issue.