You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 a TlcModule.DataKind.PredictorModel to disk in step (1). And then, ExecuteGraphCommand.SetInputFromPath loads a TlcModule.DataKind.TransformModel from disk in step (2) (apparently a consequence of SaveOnnxCommand.Arguments.Model being of type TransformModel). PredictorModelImpl and TransformModelImpl 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.
The text was updated successfully, but these errors were encountered:
System information
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.
The text was updated successfully, but these errors were encountered: