Giter Site home page Giter Site logo

mlnetexamples's Introduction

ML.NET Examples

A collection of examples for ML.NET.

mlnetexamples's People

Contributors

jwood803 avatar sheng-jie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mlnetexamples's Issues

EntityFrameworkData Project - System.FormatException: „Input string was not in a correct format.”

If i run EntityFrameworkData Project i got error:
System.FormatException: „Input string was not in a correct format.”

in line:

var data = File.ReadAllLines(filePath) .Skip(1) .Select(l => l.Split(',')) .Select(i => new SalaryData { YearsExperience = float.Parse(i[0]), Salary = float.Parse(i[1]) });

and more specifically:
.Select(i => new SalaryData { YearsExperience = float.Parse(i[0]), Salary = float.Parse(i[1]) })

ForecastBySsa - Is there a way to add multiple columns

Hi Jon,

Thank you, your videos have been very helpful.

I was hoping to do time series predictions based on multiple columns of data, but ForecastBySsa only allows 1 column to be inputted. Is there a multi column variant?

Thanks

a bug come from DeepNeuralNetword

I tested it with a collection of my own pictures,but throw a bug:
System.FormatException:“Tensorflow exception triggered while loading model.”
InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.

from:
var pipeline = context.Transforms.Conversion.MapValueToKey("LabelKey", "Label", keyOrdinality: Microsoft.ML.Transforms.ValueToKeyMappingEstimator.KeyOrdinality.ByValue)
.Append(context.Model.ImageClassification(
"ImagePath",
"LabelKey",
arch: Microsoft.ML.Transforms.ImageClassificationEstimator.Architecture.ResnetV2101,
epoch: 100,
batchSize: 10,
metricsCallback: Console.WriteLine,
validationSet: validationData));
图片

I don't know why. help me,please,thank you

Error while runing project transfer learning

System.FormatException
HResult=0x80131537
Message=Tensorflow exception triggered while loading model.
Source=Microsoft.ML.TensorFlow
StackTrace:
at Microsoft.ML.TensorFlow.TensorFlowUtils.LoadTFSessionByModelFilePath(IExceptionContext ectx, String modelFile, Boolean metaGraph)
at Microsoft.ML.TensorflowCatalog.LoadTensorFlowModel(ModelOperationsCatalog catalog, String modelLocation)
at TransferLearning.Program.Main(String[] args) in X:\MLProject\MLNetExamples\TransferLearning\Program.cs:line 18

Inner Exception 1:
DllNotFoundException: Unable to load DLL 'tensorflow' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

ML.DNN to ML.VISION

since the microsoft.ml.dnn is not longer exits, i change my pipeline as below using microsoft.ml.vision

image

it shows error at the "ImagePath"
image

What should I do for this?

ML.Net Upgrade

Microsoft has lately upgrade ML.Net and the program doesn´t work any more with the new libraries. Would you have a chance to adjust the program to the new release?

BagOfWords

I got 7 errors from building the code.

object detection

Hello @jwood803
please make object detection with
custom vision model exported for
winform c#
For multiple object in one Frame

CustomVisionOnnx won't work properly after upgrading to ML. NET 2.0

I can confirm that the problem is with the nuget package Microsoft.ML.ImageAnalytics
Due to some changes in its dependency during the process from 1. x to 2.0, it no longer relies on System.Drawing.Common
image
image

The following code snippet shows the key errors:

public class WineInput {// C# Input Mapping
        [ImageType(ImageSettings.imageWidth, ImageSettings.imageHeight)]
        public Bitmap Image { get; set; }
    }
    public struct ImageSettings {
        public const int imageHeight = 416;
        public const int imageWidth = 416;
    }
MLContext context = new MLContext();
            var emptyData = new List<WineInput>();
            var data = context.Data.LoadFromEnumerable(emptyData);// Error!

How should I modify the code to use Microsoft.ML.ImageAnalytics 2.0

Thank you very much for the video posted on Youtube and learning a lot~I hope you can help me solve this problem
😁

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.