Questions tagged [ml.net]

ML.NET is a machine learning framework built for .NET developers. Uses .NET and C# or F# to easily integrate custom machine learning into applications without the requirement of extensive prior expertise in developing or tuning machine learning models. Use this tag for discussion about the framework or apps built within.

Get started at dot.net/ml

Get involved at github.com/dotnet/machinelearning

View samples at github.com/dotnet/machinelearning-samples

632 questions
-1
votes
1 answer

Instantiating a class with ML.NET model without installing Microsoft.ML.OnnxRuntime nuget package

I am using ML.NET services I've created and trained an ONNX model, created a library to working with a trained model. But there is a problem Any application that uses the library I created requires the Microsoft.ML.OnnxRuntime nuget package to be…
Semen
  • 1
  • 1
-1
votes
2 answers

Object detection on Raspberry PI using customvision.ai/.NET 5

We have written a x-plat worker service using .NET 5 that is running on a Raspberry PI 4 (Raspberry Pi OS). We have trained a custom vision object detection model on customvision.ai, exported it to ONNX and it all works well on Windows. We are now…
mansos
  • 57
  • 5
-1
votes
2 answers

How to resolve the error "cannot import name 'string_int_label_map_pb2' from 'object_detection.protos'"

My friends and I are partaking in a hackathon and are stuck on this one tutorial on training an object detection model: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html But after three people have tried to…
Frank R. Haugen
  • 210
  • 3
  • 11
-1
votes
1 answer

ML.NET Classification Many to Many

I need to use ML.NET to process large blocks of text and determine if any given block of text will potentially fall into some of many different categories. I currently have multiple boolean columns which I want to flag to true when matches are found…
chrisg229
  • 909
  • 2
  • 7
  • 21
-1
votes
1 answer

How to use Machine Learning/Vision functions to find frames in a scan of film strip?

I have recently taken up film photography. Part of the workflow is to scan the images using a flatbed scanner. Unfortunately this process is very slow. Using some software (Silverfast) you make a prescan, zoom in make a more detailed pre scan, click…
DarcyThomas
  • 1,218
  • 13
  • 30
-1
votes
1 answer

ML.Net object detection and bounding boxes

I have created an image classification model using the Microsoft model builder. Now I need to use that model to detect objects in a video stream and draw bounding boxes once the object is detected. I can not find a c# sample that uses the generated…
-1
votes
1 answer

Transforming data on the same line while making a prediction engine on ml.net

While transforming one bit of data the line var dataProcessPipeline = mlcontext.Transforms.Categorical.OneHotEncoding(outputColumnName: "PredGoalsCoded", "PredGoals")..... but i couldn't find how to do multiple transformations on the same line so…
J-school
  • 19
  • 7
-1
votes
1 answer

Using Ml.net package error "System.ArgumentOutOfRangeException"

While using ML.net package the error "System.ArgumentOutOfRangeException: 'Schema mismatch for feature column 'Features': expected Vector, got Vector Parameter name: inputSchema'" was thrown on the line "var model =…
J-school
  • 19
  • 7
-1
votes
1 answer

ML.NET and Many to many relation

I want to use ML.Net Multi-class classification in my current project that collects error logs from one my company systems. Point is to add tags to errors and one point in the future train a model to predict and assign tags to incoming logs. I'm…
Jacob Zielinski
  • 218
  • 2
  • 14
-1
votes
1 answer

How to use String as a Predicted Column

Goal: Make a prediction on PaymentType. The target name or predicted column is a string value. Problem: I retrieve a error message that is "ArgumentOutOfRangeException: Training label column 'Label' type isn't suitable for regression: Text. Type…
HelloWorld1
  • 13,688
  • 28
  • 82
  • 145
-1
votes
2 answers

How to pass dynamic classes to a generic function?

I want to make a machine learning api for use with a web application, the field names will be passed to the api with their data types. Currently I am making a class at runtime with the code provided in this answer:…
Paprika
  • 117
  • 2
  • 10
-1
votes
1 answer

Image analysis in C# with ML.Net

I have thousands of jpegs in a folder structure. These images are a snapshot of my driveway in 2560 x 1440 and are taken and stored every 60 seconds. I'd like to create a program that can detect, from analyzing an image, whether I or my wife, was…
RobIII
  • 8,488
  • 2
  • 43
  • 93
-2
votes
1 answer

A simple Cosine similarity

Vectors contains one column, m rows : each row contains an array of n floats; I want to have a m x n matrix, transpose it and do there product I'm using C# Also, I read this from official documentation…
-2
votes
3 answers

Why Label column is needed in ML.net?

I have 20 million records of Dataset to train the model. Why Label column I have to add?
-2
votes
1 answer

ML.NET 10 Minute tutorial not finishing training model. Message "The thread 0xXXXX has exited with code 0"

The ML.NEt 10 Minute tutorial was followed and after compiling and executing the program is stuck and console is returning the following, endlessly: 'The thread 0x35f0 has exited with code 0 (0x0).' Is this normal behavior of ML.NET or is the…
1 2 3
42
43