Questions tagged [ml.net-model-builder]
14 questions
9
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
- 311
- 2
- 10
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
- 51
- 4
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://docs.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
- 410
- 2
- 13
1
vote
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
- 43
- 5
1
vote
1 answer
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://docs.microsoft.com/en-us/dotnet/machine-learning/how-to-guides/save-load-machine-learning-models-ml-net)
This is…
John
- 13
- 2
1
vote
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
- 560
- 5
- 18
1
vote
0 answers
ml.net model works with console application but not web api
I have created an MLModel with ml.net model builder and it works with a 'consume' console application and hard coded values for input. I wanted to go to the next step and feed values with web api. I am using a modified version of their tutorial…
Lyndon Sundmark
- 443
- 3
- 17
0
votes
1 answer
ML.Net model builder - Why do I get an SQL data error " Incorrect syntax near the keyword 'Open' "?
I am using ML.Net Model Builder version: 16.3.0.2056001 on Visual Studio 2019, using .Net 5.0.
Using Model Builder Wizard with a fresh template project, I select Add > Machine Learning > Connect to SQL Server, which is Tested successfully and the…
Holland Risley
- 6,879
- 8
- 22
- 32
0
votes
0 answers
How to introduce time variable in a function in Gproms
I am trying to develop a DAE model in gPROMS and I want to define an equation depending on the running time. The problem is that gPROMS does not recognize the variable time as such.
I previously define the time variable on the "Variable type" Folder…
0
votes
1 answer
ML.NET Model Builder generated code to return multiple prediction results
I selected Text Classification in Model Builder and was able to evaluate the model with sample data. I get multiple results rows with percent accuracy in Visual Studio plugin like below:
Results
Result1 60%
Result2 5%
Result3 …
pymendoza
- 328
- 3
- 15
0
votes
0 answers
ML.NET Model Builder with too many labels
I have a training set of 12k samples. Each sample is a result for my model.
For instance, i have 2 features and a label (f1 is a category and f2 a text):
F1,F2,LABEL
ALPHA, 114, ALPHA_114
ALPHA, 125, ALPHA_125
BETA, 213, BETA_213
I would match…
Daniele Licitra
- 1,151
- 15
- 34
0
votes
0 answers
Changing the options of a trainer in ML.NET Auto ML
I am using ML.NET 1.5, I am using the following:
var settings = new BinaryExperimentSettings();
settings.Trainers.Clear();
settings.Trainers.Add(BinaryClassificationTrainer.FastTree);
And I am using AutoML:
BinaryClassificationExperiment experiment…
Adam
- 3,407
- 2
- 29
- 52
0
votes
1 answer
ML.NET Image Classification Training Freezing
I'm using the latest version of ML.NET image classification in Visual Studio 2019 on a Windows 10 PC to detect inappropriate images. I was using a dataset of 3000 SFW and 3000 NSFW images to train it, but it got stuck while training. There are no…
230Daniel
- 372
- 2
- 9
0
votes
2 answers
ML.Net Data.SaveAsText CSV file cannot be loaded by Model Builder
I export my current ML.Net Data to a CSV with this function
using (var stream = File.Create("c:\\temp\\aidata.csv"))
mlContext.Data.SaveAsText(trainData, stream);
The saved data looks ok, but when I try to load the CSV with…
Mario M
- 10,959
- 17
- 47
- 98