Slide 1

Slide 1 text

Machine learning models with ONNX and .NET Beatriz Stollnitz Principal Cloud Advocate @ Microsoft Henk Boelman Senior Cloud Advocate @ Microsoft

Slide 2

Slide 2 text

What are we building? Lego Dataset Homer Simpson 99.9% ?

Slide 3

Slide 3 text

Before we start

Slide 4

Slide 4 text

Simulation of human intelligence by machines. Artificial Intelligence

Slide 5

Slide 5 text

Machine Learning Ability to learn without being explicitly programmed.

Slide 6

Slide 6 text

Programming Algorithm Data Answers

Slide 7

Slide 7 text

Machine Learning Algorithm Data Answers

Slide 8

Slide 8 text

Machine Learning Model Data Answers

Slide 9

Slide 9 text

Machine Learning Model Data Answers

Slide 10

Slide 10 text

Machine Learning Predictions Data Model Data Answers

Slide 11

Slide 11 text

Deep Learning Subset of machine learning that's based on artificial neural networks.

Slide 12

Slide 12 text

What is Computer Vision? Computer vision is a field of artificial intelligence that trains computers to interpret and understand the visual world.

Slide 13

Slide 13 text

In transfer learning, a model trained for one task is used as a starting point for a different task. What is Transfer Learning?

Slide 14

Slide 14 text

PyTorch is an open-source deep learning framework originally developed by Meta AI, and now part of the Linux Foundation. What is PyTorch?

Slide 15

Slide 15 text

ONNX is an open format built to represent machine learning models. It defines a common set of operators and a common file format to enable AI developers to use models with a variety of frameworks, tools, runtimes, and compilers. What is ONNX?

Slide 16

Slide 16 text

What are we building? Lego Dataset Homer Simpson 99.9% ?

Slide 17

Slide 17 text

What is Azure Machine Learning? Set of Azure Cloud Services Python SDK AML Studio or Interface of your choice That enables you to:  Prepare Data  Manage Models  Build Models  Track Experiments  Train Models  Deploy Models

Slide 18

Slide 18 text

Azure ML service Key Elements Workspace Models Environments Experiments Deployment Pipelines Datastores Compute Target Data Labelling

Slide 19

Slide 19 text

Interface

Slide 20

Slide 20 text

ML Pipelines An Azure Machine Learning pipeline is an independently executable workflow of a complete machine learning task. Subtasks are encapsulated as a series of steps within the pipeline. An Azure Machine Learning pipeline can be as simple as one that calls a Python script, so may do just about anything. Workflows of steps that can use Data Sources, Datasets and run on Compute targets

Slide 21

Slide 21 text

Create a step / component Input Output Runs a script on a Compute Target in a Docker container. Parameters

Slide 22

Slide 22 text

Create a pipeline Dataset of Simpsons Images Train the Model with a PyTorch model Register the model Blob Storage Account Model Management model Convert Model To ONNX

Slide 23

Slide 23 text

Azure ML Designer What is the Azure ML Designer? AML Designer is an UI interface which enables you to build machine learning pipelines with drag-n-drop experience and simplify the publishment and deployment of your pipelines.

Slide 24

Slide 24 text

Demo Building an Azure ML Pipeline and run an ONNX model in .NET MAUI

Slide 25

Slide 25 text

What did we build? Lego Dataset Homer Simpson 99.9%

Slide 26

Slide 26 text

Thank you Aka.ms/ai/onnx-maui