19 references to InputModelFile
Microsoft.ML.Data (19)
Commands\CrossValidationCommand.cs (1)
150if (ImplOptions.ContinueTrain && !TrainUtils.TryLoadPredictor(ch, Host, ImplOptions.InputModelFile, out inputPredictor))
Commands\DataCommand.cs (9)
255using (var file = Host.OpenInputFile(ImplOptions.InputModelFile)) 279Host.CheckUserArg(!string.IsNullOrWhiteSpace(ImplOptions.InputModelFile), nameof(ImplOptions.InputModelFile)); 339if (!string.IsNullOrWhiteSpace(ImplOptions.InputModelFile) && ImplOptions.Loader == null) 342using (var file = Host.OpenInputFile(ImplOptions.InputModelFile)) 374Host.CheckUserArg(!string.IsNullOrWhiteSpace(ImplOptions.InputModelFile), nameof(ImplOptions.InputModelFile)); 383Host.Assert(!string.IsNullOrWhiteSpace(ImplOptions.InputModelFile)); 385using (var file = Host.OpenInputFile(ImplOptions.InputModelFile))
Commands\ScoreCommand.cs (2)
85Host.CheckUserArg(!string.IsNullOrWhiteSpace(ImplOptions.InputModelFile), nameof(ImplOptions.InputModelFile), "The input model file is required.");
Commands\TestCommand.cs (2)
66Host.CheckUserArg(!string.IsNullOrEmpty(ImplOptions.InputModelFile), nameof(ImplOptions.InputModelFile), "The input model file is required.");
Commands\TrainCommand.cs (2)
145if (ImplOptions.ContinueTrain && !TrainUtils.TryLoadPredictor(ch, Host, ImplOptions.InputModelFile, out inputPredictor)) 275ch.Warning("Ignoring " + nameof(TrainCommand.Arguments.InputModelFile) +
Commands\TrainTestCommand.cs (1)
128if (ImplOptions.ContinueTrain && !TrainUtils.TryLoadPredictor(ch, Host, ImplOptions.InputModelFile, out inputPredictor))
Model\Pfa\SavePfaCommand.cs (2)
127if (string.IsNullOrEmpty(ImplOptions.InputModelFile)) 133"Cannot be set to true unless " + nameof(ImplOptions.InputModelFile) + " is also specified.");