Questions tagged [microsoft.ml]
26 questions
6
votes
1 answer
Microsoft.ML and Xamarin
Does Microsoft.ML work in Xamarin?
I have followed many of the tutorials and videos at https://dotnet.microsoft.com/learn/ml-dotnet.
The simple tutorial (here) sets out the core process, which I have followed (in a Xamarin project) but I cannot get…

nixop
- 61
- 5
6
votes
1 answer
Efficient Bitmap to OnnxRuntime Tensor in C#
I am using Microsoft OnnxRuntime to detect and classify objects in images and I want to apply it to real-time video. To do that, I have to convert each frame into an OnnxRuntime Tensor. Right now I have implemented a method that takes around…

Ignacio
- 806
- 1
- 10
- 29
3
votes
1 answer
Cannot plot inline plotly charts in Jupyter Notebook using C#
Hello I am trying to plot a chart in Jupyter Notebook. I have been following this tutorial.
I am using the following nuget packages to read a data and then plot it using plotly
So I have this block of code which produces a scatter plot,
var chart =…

Murtaza
- 413
- 1
- 3
- 13
3
votes
2 answers
Using ML.net with an ONNX model and GPU
How do you get Microsof.tML to run on an NVDIA GPU using C#? I followed the instructions
https://github.com/dotnet/machinelearning/blob/master/docs/api-reference/tensorflow-usage.md
And my pipeline looks like the below. All versions dependencies…

hamishkeith
- 186
- 2
- 5
2
votes
0 answers
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 Microsoft.ML and apparently it's having a hard time…

Alhussein Jamil
- 21
- 1
2
votes
0 answers
Has anyone successfully gotten Microsoft.ML output on Visual Studio for Mac?
All,
From a few hours of research, I have some doubt many people if any have gotten Microsoft.ML working on their Macs. When the trainers (I tried a few) try to consume the data the below error is thrown:
System.DllNotFoundException: CpuMathNative…

kdizzle
- 21
- 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
Unable to load DLL 'MklImports': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
[DllNotFoundException: Unable to load DLL 'MklImports': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
Microsoft.ML.Transforms.TimeSeries.EigenUtils.Dsytrd(Layout matrixLayout, Uplo uplo, Int32 n, Double[] a, Int32…

Mian Muhammad Ramzan
- 223
- 2
- 8
0
votes
1 answer
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 System;
using System.Collections.Generic;
using…

Kate
- 65
- 1
- 11
0
votes
1 answer
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 The tutorial use a unknown-size vector so it should…

Fredrik Claesson
- 609
- 7
- 12
0
votes
0 answers
Visual Studio Refused to Remove Microsoft Machine Learning Package from Project
I installed Microsoft.ML for experimental purposes. One of the problems is that this requires the target to be set to either x64 or x84 platform, not "Any CPU". As a result, I decided to uninstall it.
However, I've done this through Visual Studio…

T. J. Fan
- 45
- 3
0
votes
1 answer
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 some research, I have found that, when using the …

Adrián Fontal
- 31
- 2
0
votes
2 answers
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, Dataset used: Validation, Image Index: 2
Phase:…

Malinko
- 124
- 11
0
votes
0 answers
System.ArgumentOutOfRangeException: 'Features column 'Feature' not found Arg_ParamName_Name' (ML .Net)
I am practicing ML .Net recently. But I got this error System.ArgumentOutOfRangeException: 'Features column 'Feature' not found Arg_ParamName_Name' when I separated the Data Preparation Model and Trained Model for future retrain purpose. I am…

Xeerox
- 1
0
votes
1 answer
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 my data classes:
public class DataPoint
{
…

StephanH
- 463
- 4
- 12