File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/Microsoft.ML.AutoML/AutoMLExperiment/Runner Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ public TrialResult Run(TrialSettings settings)
4545 var models = new List < ITransformer > ( ) ;
4646 foreach ( var split in datasetSplit )
4747 {
48+ // a work-around to fix issue https://github.com/dotnet/machinelearning-modelbuilder/issues/2718
49+ // where the root cause is the shape of deep learning model is determined by the first time when this model is trained
50+ // therefore, the deep learning model can't be retrained using the same pipeline
51+ mlnetPipeline = _pipeline . BuildFromOption ( _mLContext , parameter ) ;
4852 var model = mlnetPipeline . Fit ( split . TrainSet ) ;
4953 var eval = model . Transform ( split . TestSet ) ;
5054 metrics . Add ( _metricManager . Evaluate ( _mLContext , eval ) ) ;
You can’t perform that action at this time.
0 commit comments