🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
1 Tag Serie
🔧 Programmierung 🕛 kürzlich 10 Min Lesezeit
0

Using ML.NET for deep learning on images in Azure

↗ Quelle (devblogs.microsoft.com)
🗣️ Stimme:
📑 Inhaltsübersicht
📺
devblogs.microsoft.com

Introduction


In March 2020, ML.NET added is an open-source and cross-platform machine learning framework for .NET developers. Model Builder is a tool in Visual Studio that provides a graphical user interface that uses Automated Machine Learning (Auto ML) to train and consume custom ML.NET models for your .NET applications.


Model Builder choose a scenario screen


Prerequisites


To follow along, you’ll need the following prerequisites:


  • .

  • .NET Core cross-platform development workload

To use Model Builder, make sure to enable the preview feature. In the Visual Studio Menu Bar, select Tools > Options > Environment > Preview Features. Then, check the Enable ML.NET Model Builder box.


Model training workflow


The process of training models usually consists of the steps outlined below:


  1. Get the data

  2. Create a .NET Core application. This can be a console, desktop, or web application.

  3. Choose a scenario

  4. Configure your training environment

  5. Load the data

  6. Train the model

  7. Evaluate the model

  8. Add the code to make predictions

Add the data


The dataset used in this guide is based on the


The full license information is provided in the LICENSE.txt file which is included as part of the same image set.


The dataset is divided into separate subfolders, one for each flower category:


  • Daisy

  • Dandelion

  • Roses

  • Sunflowers

  • Tulips

Download the data anywhere on your PC and unzip it.


Model Builder requires data to be in a certain format. This dataset is already in the correct format. For more information, see Microsoft Docs to learn more about . This process may take a few minutes.


Create a new Azure Machine Learning Compute


In the Create New Experiment dialog, leave the default experiment name and select Create.


Create experiment final


The first experiment is created and its name is registered in the workspace. Any subsequent runs – if the same experiment name is used – are logged as part of the same experiment. Otherwise, a new experiment is created.


If you’re satisfied with your configuration, select the Data button to move to the next step.


Submit experiment


Load the data


In the Add data screen, load your data by selecting the button next to the Select a folder text box and use the file explorer to find the unzipped directory containing the subdirectories with images.


Load the data


Once the data is loaded, select the Train button to train your model.


Train the model


In the Model Builder train screen, select the Start training button to start training your model.


Track training progress


At this point, your data is uploaded to Azure Storage and the training process begins. The algorithm used to train these models is a . The training process takes some time and the amount of time may vary depending on the size of compute selected as well as the amount of data.


For this sample of 3670 images, training took about 30 minutes. The first time a model is trained in Azure, you can expect a slightly longer training time because resources have to be provisioned. You can track the progress of your runs in the Azure Machine Learning portal by selecting the “Monitor current run in Azure portal” link in Visual Studio.


Once the model is trained, select the Evaluate button to move to the next step.


Training complete


Evaluate your model


In the evaluate screen, you are able to get an overview of the results from the training process such as how long the model took to train as well as the accuracy. Additionally, you can use the “Try your model” experience to quickly check whether your model is performing as expected. All you need to do is provide an image, preferably one that the model did not use as part of training. The model classifies the image and provides the list of categories along with their probabilities with the predicted value at the top of the list.


Evaluate Model


If you’re satisfied with your model, select the Code button to add the code to make predictions.


Add the code to make predictions


In the code screen, select the Add Projects button to add the auto-generated projects to your solution.


Add auto-generated projects to solution


Two projects are added to your solution with the following suffixes:


  • ConsoleApp: A C# .NET Core console application that provides starter code to build the prediction pipeline and make predictions.

  • Model: A C# .NET Standard application that contains the data models that define the data schema of input and output model data as well as the following assets:
    • bestModel.onnx: A serialized version of the model in from the internet and included it in my MBImageClassificationApp project. The model has not seen this image before. A new instance of ModelInput is created and the path of the image is used as the value for the ImageSource property.


      Then, ConsumeModel.Predict, a helper method that loads the MLModel.zip file and uses PredictionEngine, a convenience API to make predictions on a single instance of data, is called with the sample image as input. Finally, both the actual class the image belongs to, as well as the predicted flower category, are printed out to the console.


      When you run the application, you should see output similar to the following in the console:


      Console Application Output


      Clean up resources


      Azure Machine Learning Enterprises are currently in preview. Therefore, there is no additional surcharge at the moment. Training this model cost less than $0.50. Depending on your scenario, your costs may vary depending on the amount of data and size of your compute. For more information on pricing, see the and select Resource groups in the portal menu.


    • From the list of resource groups, select the resource group you created.

    • Select Delete resource group and follow the instructions in the prompt to delete your resource group.

    • Share your feedback


      Since Model Builder is still in Preview, your feedback is super important in driving the direction of this tool and ML.NET in general. We would love to .


      Virtual ML.NET Conference


      Join the community May 29-30 for a or .


      Check out this .


      Not currently using Visual Studio? Try out the appeared first on .NET Blog.

      Vollständiger Original-Bericht
      Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf devblogs.microsoft.com.
      ↗ Original-Artikel auf devblogs.microsoft.com lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Using ML.NET for deep learning on images in Azure

Thematisch verwandte Begriffe: Using, MLNET, deep, learning · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...