SharpLearning icon indicating copy to clipboard operation
SharpLearning copied to clipboard

how can i train the Neural Network with my own Training Pictures?

Open ammar88400 opened this issue 3 years ago • 1 comments

let's say i have a list of Images ..how do i convert my images into F64matrix Form so i can train them with my Neural Network ..and how do i test the Network with an Image at the End could you please make an example of this because you didn't mention that in the examples, you also didn't mention how to test the Network using a real Image..

Thanks in Advance

ammar88400 avatar Feb 10 '22 14:02 ammar88400

Hi @ammar88400,

Currently there is no standard method for loading images in SharpLearning. So you basically have write your own methods for converting them to the `F64Matrix´. I think there are better libraries for training neural networks on images in C# than SharpLearning. I would try using one of the following:

  1. TorchSharp
  2. TensorFlow.NET
  3. CNTK

Note that CNTK is deprecated, so if using C#, I would recommend using TorchSharp.

mdabros avatar Feb 19 '22 13:02 mdabros