29 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
49
views
Microsoft.ML C#: GPU not found in K8s/Docker container
I have created a .NET app that uses Microsoft.ML.OnnxRuntime.Gpu for interference. Now I'm trying to integrate it with Azure Kubernetes.
We have made the setup with Tesla T4 GPU and we confirmed it's ...
0
votes
0
answers
60
views
ML.NET model training using Training and Validation sets
I am having an issue with Microsoft.ML in C# starting from this code:
LightGbmBinaryTrainer modelTrainer = mlContext.BinaryClassification.Trainers.LightGbm(options);
var transformer = mlContext....
0
votes
1
answer
1k
views
Error when using the Microsoft.ML.OnnxRuntime library on the GPU
This code gives the following error
System.EntryPointNotFoundException: "The entry point cannot be found "OrtSessionOptionsAppendExecutionProvider_DML" in DLL "onnxruntime".&...
0
votes
0
answers
105
views
ML.Net: System.OutOfMemoryException: 'Exception of type 'System.OutOfMemoryException' was thrown.' on small dataset
I have a 60mb CSV with 700000 rows, IMO this is not a huge amount. My machine has 32 GB of memory and doesn't even use 20% of my memory when I watch performance. I tried to build a release build on ...
1
vote
1
answer
257
views
System.DllNotFoundException: 'Unable to load DLL 'lib_lightgbm': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'
I'm trying to create a categorial model. I have a boolean type which I want to predict using multiple features (floats) in c#. I've tried many different codes from online, but I thought that this one ...
0
votes
1
answer
173
views
Microsoft.ML error Can't bind the IDataView column of type 'Vector<Single, 30>' to field or property of type 'System.Single
Iam trying to forecast sales data , here below my code
class Program
{
static void Main(string[] args)
{
var connectionString = "connectionstring";
var query = &...
0
votes
1
answer
567
views
ML.Net stuck on pretrained model Fit() method
there is some code example which works with Pretrained model (link to whole example page https://learn.microsoft.com/en-us/dotnet/api/microsoft.ml.textcatalog.applywordembedding?view=ml-dotnet):
using ...
0
votes
1
answer
278
views
Can't get KMeans clustering to work in Microsoft.ml (C#)
Below is a simple demonstration of my issue. When I execute "Evaluate" I get an exception stating Schema mismatch for score column 'Score': expected known-size vector of Single, got Vector&...
0
votes
1
answer
415
views
System.ArgumentOutOfRangeException when using Microsoft.ML.Analytics 2.0
I have developed an Object Detection solution in C# using capabilities of the Microsoft.ML package. However, when this package was upgraded to its 2.0 version, the solution started not working.
Doing ...
1
vote
1
answer
482
views
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 ...
0
votes
2
answers
153
views
How to save/use Microsoft.ML's cached bottleneck computation values
When training a model using Microsoft.ML the bottleneck computation can take a LONG time.
Phase: Bottleneck Computation, Dataset used: Validation, Image Index: 1
Phase: Bottleneck Computation, ...
0
votes
1
answer
667
views
Using OneHotEncoding in Microsoft.ML.AutoML
In my project, I am forced to do some Machine Learning with C#. Unfortunately, ml.net is much less intuitive than in all other languages, and I fail to execute a RegressionExperiment.
First, here are ...
0
votes
1
answer
233
views
What is the best way to process output of segmentation network in Microsoft.ML?
The network produces 1 x N x K tensor, where N is number of pixel positions and K is number of classes, each value represents score for a class at given position.
Current code to retrieve best class ...
0
votes
0
answers
123
views
System.IO extention
I am using Microsoft.ML in a project, and unfortunately on android it's giving me this error message when I try to load premade models:
08-29 15:45:06.835 27752 23359 E Unity : IOException: ...
2
votes
0
answers
56
views
Saving Class Components C#
So I have a class inside my unity project, during gameplay, some properties get assigned some values and stuff, is there is a way to save the whole class to be reloaded again later on ?
I use ...