Description
openedon Jul 8, 2019
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.GetPipe
only cycles through the transforms and never encounters the logistic regression node.This might be happening because
ExecuteGraphCommand.GetOutputToPath
saves aTlcModule.DataKind.PredictorModel
to disk in step (1). And then,ExecuteGraphCommand.SetInputFromPath
loads aTlcModule.DataKind.TransformModel
from disk in step (2) (apparently a consequence ofSaveOnnxCommand.Arguments.Model
being of typeTransformModel
).PredictorModelImpl
andTransformModelImpl
don'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.