Questions tagged [ml.net-model-builder]
52 questions
10
votes
2 answers
ML.Net retrain existing model rather than training new model
I am training a ML.Net machine learning model. I can train it and predict from it, and save/load it from the disk. But I need to be able to load it off the disk, then retrain it, or add to it with new information to improve it over time.
Does anyone…

craig
- 421
- 4
- 13
3
votes
0 answers
ML.Net TimeSeriesPrediction model Checkpoint vs retraining the model
Being pretty new to ML.Net and working with TimeSeriesPrediction models and engine, I don't quite get and find enough documentation about what exactly TimeSeriesPredictionEngine.CheckPoint method does.
What I understand is that when we…

CageE
- 419
- 4
- 13
3
votes
0 answers
Does ML.Net allow to train multi-input models?
My requirement is to Use images and text inputs together to train a model.
Currently I use Image classification model to predict using a given Image.
But I wish to use some text inputs too to train the model.
Is there any way to do it using ML.net…

Buddhima Kudagama
- 63
- 5
2
votes
0 answers
Can´t make prediction with code trained model
System Information:
Windows 10
ML.NET Version: ML.NET v1.7.1
.NET Version: .NET 6.0
Bug description
When I tried to get a prediction from a new trained model, the error
System.ArgumentOutOfRangeException: 'Could not find input column…

Paul Nell
- 21
- 1
- 2
2
votes
1 answer
ML.NET export to ONNX
NET GUI tools to train model. The model works great with C# application, but I want to have it in ONNX format. I have found tools which are converting between model formats, but couldn't find anything for ML.NET generated format. Apparently it's…

r9guy
- 65
- 7
2
votes
2 answers
Error In Blazor When Getting Stream of ML NET Model zip file
I have a problem with Blazor.
I tried to do what's said in the documentation about loading existing model from remote source.
(https://learn.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/save-load-machine-learning-models-ml-net)
This is…

John
- 65
- 6
2
votes
0 answers
Why is it actually impossible to load onnxruntime.dll?
Using the tutorial from the developers at Microsoft, I followed the tutorial created at https://learn.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx.
I made sure to install CUDA V10.1.243 and cuDNN 7.6.5 from Nvidia's…

lolsky
- 428
- 2
- 14
2
votes
1 answer
Where to Specify Time to Train in ML.NET
I'm evaluating ML.NET Model Builder (Preview) 16.1.0.2027905. When I go to train, the Builder lets me specify "Time to train (seconds)" (See Picture):
However, when I get to Step#6 and generate the code, I can't seem to find where the "Time to…

Shawn Eary
- 684
- 2
- 7
- 21
1
vote
0 answers
ML.NET Model in .net framework
How can I use the model I generated with Ml.net Model Builder in .NET Framework?
I want to use my generated model with .NET Framework and I don't want to perform predictions in a console application. If possible, the entire process should take place…

Oğuzhan Balcı
- 11
- 1
1
vote
1 answer
SchemaDefinition.Create throws exception in Microsoft.ML.ImageAnalytics version 2.0
The following line of code
SchemaDefinition def = SchemaDefinition.Create(typeof(ImageData), SchemaDefinition.Direction.Read);
throws
System.ArgumentOutOfRangeException: 'Could not determine an IDataView type and registered custom types for member…

Trifon
- 1,081
- 9
- 19
1
vote
0 answers
Reduce time complexity of evaluation of testset when using transform with CalculateFeatureContribution in training for explainability in ML.NET
I needed to reduce time complexity of the transform due to performance issues as CalculateFeatureContribution provided by ML.NET…

Abhay Gaur
- 11
- 1
1
vote
1 answer
How to use *.mbconfig files with mlnet CLI
I am looking to automate more of the auto-training that can be done via the Visual Studio GUI. The mlnet command line tool is useful, but doesn't allow specification of column types, and seems to default many of my numerical fields to "strings"…

pcbulldozer
- 217
- 1
- 10
1
vote
2 answers
Getting "Trial 0 encounter error with message: Must be at least 2. Parameter name: numClasses" Using VS 2019 Model Builder
I'm new to Machine Learning and ML.Net (both from a coding and model builder perspective). I've written code to train and predict (relatively simple examples against our data) but but thought it would be best to use the Model Builder since it picks…

T. DeVoe
- 21
- 4
1
vote
0 answers
Is ML.NET compatible with TF2 saved_model format?
It is mentioned on the official website that it is compatible, but when I try to load the model, I get errors. I did everything according to what is mentioned on the site. In addition, the input and output names of the model are also changed by…

f_gulay
- 121
- 1
- 4
1
vote
1 answer
ML.NET Model Builder16.6.1
I am using c# with ml.net with the new The model builder ver16.6.1. The model builder generates code, one of them is MLModel.training.cs
I need to retrain my model as part of the application, how I can call this function to retrain my model from…

Gattan
- 11
- 3