Image Classification(Deep Learning) using C# ML .NET

  Рет қаралды 10,651

Biswa Ranjan

Biswa Ranjan

4 жыл бұрын

Deep learning enables many more scenarios using sound, images, text, and other data types. Learn how to build an Image Classification model to classify flowers (daisies, roses, etc.).
🗣
VISIT MY WEBSITE ►
Useful Links:
Learn .NET: dotnet.microsoft.com/learn?&W...
.NET Community: dotnet.microsoft.com/platform...
.NET Documentation: docs.microsoft.com/en-us/dotn...

Пікірлер: 48
@shubhamberde-fg4ez
@shubhamberde-fg4ez 2 ай бұрын
👍👍👍👍
@nguyenthanhphong5513
@nguyenthanhphong5513 15 күн бұрын
Thank you so much, I have already resolved my problem.
@nikhilshinde6195
@nikhilshinde6195 3 жыл бұрын
Hey, thanks for the tutorial. I'm getting error while I training the dataset. The error is : File not found. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) Please help me
@okanyosun
@okanyosun Жыл бұрын
how many time does it take 30k and 42mb data on a computer have 16gb ram and ryzen 5 2600 cpu ? should i need azure ?
@dr.khushbooagarwal786
@dr.khushbooagarwal786 3 жыл бұрын
Can you please make a tutorial on the auto generated code and what algorithm is used by it
@georgealbo
@georgealbo 2 жыл бұрын
Thank.you iam asking how to do.this using programming I mean make a training button instead of wizard
@Defficienzaartificiale-wl2su
@Defficienzaartificiale-wl2su 5 ай бұрын
Hi! nice video! a question: why does it take so long for the prediction if the model is already loaded? it should be fast. it's slow for me too.
@BiswaRanjan
@BiswaRanjan 4 ай бұрын
Hi, Thanks for watching. If we run in our local machine, it takes times as per system configuration.
@CarlosMachado-ub7rl
@CarlosMachado-ub7rl 2 жыл бұрын
Some errors after building: CS0006 Metadata file 'D:\PROGRAMMING\CSharp\MLProject\ImageClassify\ImageClassifyML.Model\bin\Debug etstandard2.0\ImageClassifyML.Model.dll' could not be found ImageClassify D:\PROGRAMMING\CSharp\MLProject\ImageClassify\ImageClassify\CSC 1 Active
@timMathsHelp
@timMathsHelp 11 ай бұрын
Thank you, very helpful
@BiswaRanjan
@BiswaRanjan 11 ай бұрын
Glad to hear that!
@vkeychaudhari
@vkeychaudhari 9 күн бұрын
Can you share the source code?
@sukeshsubaharan4324
@sukeshsubaharan4324 3 жыл бұрын
Hi, I am continuously getting an error during runtime that says Microsoft.ML.Data could not load one of its dependencies. I tried changing the .NET version, but nothing works. Could you please suggest a fix? PS. I followed your tutorial to the letter
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
Hi, Thanks for watching. Could you please copy paste the exact error/exception messages here. There might be chance, you need to update visual studio and model builder.
@sukeshsubaharan4324
@sukeshsubaharan4324 3 жыл бұрын
@@BiswaRanjan I am running VS 2019 Community, v16.7.6. I updated it yesterday. The error I am getting: System.IO.FileNotFoundException: Microsoft.ML.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51. Could not load file or one of its dependencies
@sukeshsubaharan4324
@sukeshsubaharan4324 3 жыл бұрын
@@BiswaRanjan that error is referenced to the output prediction line in the code btw
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
@@sukeshsubaharan4324 Please confirm, you are using .Net Core not .Net Framework. If you are using .Net Core then please check below. Could you check if Microsoft.ML is installed correctly, Seems that it can't load the right assembly. Model Builder should install Microsoft.ML automatically in generated console app and Model project. If possible, could you create a new project and start a new train to see if the DLL is not found exception happened again? And also check if Microsoft.ML installed correctly in the generated console app and Model project? If still the issue is persists you need to reinstall the VS2019.
@sukeshsubaharan4324
@sukeshsubaharan4324 3 жыл бұрын
@@BiswaRanjan thank you! I will try this and let you know.
@user-ux1tg6nc6k
@user-ux1tg6nc6k 3 жыл бұрын
Hi, may i know where can i get the full codes?
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
Hi, Please download the source code at : easyupload.io/i336ea
@desifood1895
@desifood1895 Жыл бұрын
Hi sir, please help me to find the source code ,that link shows that file not found....
@BiswaRanjan
@BiswaRanjan Жыл бұрын
Hi curry , unfortunately due low space I deleted source code. Very soon I am going to create same video from .Net core 6 web.API, I will update you over that.
@NarunartKudwongkeaw
@NarunartKudwongkeaw 3 жыл бұрын
When I have a new image or new data, how to update for this project ?
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
In the Added ConsoleApp application in your solutions, please look for the ModelBuilder.cs -> public static ITransformer TrainModel() you will get the ideas to train your model after new input. Thank you for watching.
@georgealbo
@georgealbo 2 жыл бұрын
Dear sit how can i program this model in c# instead of using Model builder
@BiswaRanjan
@BiswaRanjan 2 жыл бұрын
When the console app creating, There is modelbuilder.cs file, in there please check for Train() method. you can use like wise
@georgealbo
@georgealbo 2 жыл бұрын
@@BiswaRanjan actually i created the Model in 2022 it did not create ModelBuilder , iam waiting ... also iam wishing if you save the Model and load it to be used for consumption . thanks in advace
@mohammedmuzzammil1184
@mohammedmuzzammil1184 Жыл бұрын
How to make this from camera input, thanks a lot.
@BiswaRanjan
@BiswaRanjan Жыл бұрын
That's a good question. I will try and update you.
@georgealbo
@georgealbo 2 жыл бұрын
Can you please tell.how to train a model in c sharp exactly as the model.builder and create model.zip file thank you for this.video
@BiswaRanjan
@BiswaRanjan 2 жыл бұрын
Hi, I will a create video on coming sessions. Please stay tuned, enjoy and learn. Thank you for watching.
@georgealbo
@georgealbo 2 жыл бұрын
Thanks
@georgealbo
@georgealbo 2 жыл бұрын
@@BiswaRanjan also loading and saving a trained Model to be consumed. iam waiting thanks in advance
@mohammedmuzzammil1184
@mohammedmuzzammil1184 Жыл бұрын
why this result.Prediction is null
@sanketmetkar
@sanketmetkar 3 жыл бұрын
while training the data it shows TensorFlow exception triggered while loading model how to solve it?
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
Could you please send the exact exception message?
@sanketmetkar
@sanketmetkar 3 жыл бұрын
@@BiswaRanjan Tensorflow exception triggered while loading model. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.AutoMLExperiment`3.d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/AutoMLExperiment.cs:line 108 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.ML.ModelBuilder.AutoMLEngine.d__30.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 147
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
​@@sanketmetkar Sorry for late reply. My response:- When a system facing performance issue like the below scenario : 1- Machine configuration is slow. 2- Trying to train the model with large size of the image, when the system is slow. I suggest trying to close all your application from the machine and first try with a small amount of image. If is working or not. If it working then again train the model by putting all images in the specified folder. Try to update Visual studio 2019 16.7.
@sanketmetkar
@sanketmetkar 3 жыл бұрын
@@BiswaRanjan i tried all the ways but still same error. don't know what is happening
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
@@sanketmetkar Please try to use the below pipeline and check again. var trainingPipeline = mapLabelTransform .Append(mlContext.Model.ImageClassification( "ImagePath", "LabelAsKey", arch: ImageClassificationEstimator.Architecture.ResnetV2101, epoch: 100, batchSize: 30, metricsCallback: (metrics) => Console.WriteLine(metrics)));
@BiswaRanjan
@BiswaRanjan 3 жыл бұрын
Source code available for download at easyupload.io/i336ea
@ZNAXNOR
@ZNAXNOR Жыл бұрын
FILE NOT FOUND error
@samuelgirmagirma4019
@samuelgirmagirma4019 3 жыл бұрын
C# not she#
Machine Learning for  .NET Developers  Introducing ML NET
1:33:19
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 18 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 29 МЛН
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 16 МЛН
ML.NET Object Detection
17:06
Hahn Software
Рет қаралды 2,2 М.
ML.NET 2.0 Text Classification in C#
15:49
Matt on Data Science
Рет қаралды 13 М.
Introduction to ML.NET
22:50
Microsoft Visual Studio
Рет қаралды 5 М.
Machine Learning Crash Course With ML.NET
20:58
Traversy Media
Рет қаралды 91 М.
Image Classification Using Pytorch and Convolutional Neural Network
21:29
Train a custom object detection model using your data
12:10
TensorFlow
Рет қаралды 192 М.
Using ML.NET for Object Detection in WinForms
17:49
Jon Wood
Рет қаралды 22 М.
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 18 МЛН