deploying machine learning models on the edge deploying
play

Deploying Machine Learning Models on The Edge Deploying Machine - PowerPoint PPT Presentation

Deploying Machine Learning Models on The Edge Deploying Machine Learning Models on The Edge Yan Zhang, Mathew Salvaris Microsoft https://github.com/microsoft/deploy-MLmodels-on-iotedge Cloud Analytics Edge Analytics Device/Sensor Analytics


  1. Deploying Machine Learning Models on The Edge

  2. Deploying Machine Learning Models on The Edge Yan Zhang, Mathew Salvaris Microsoft

  3. https://github.com/microsoft/deploy-MLmodels-on-iotedge

  4. Cloud Analytics Edge Analytics Device/Sensor Analytics

  5. Example: Early Prediction of Failures on Circuit Boards Assembly Line https://news.microsoft.com/en-in/features/forus- health-3nethra-ai-azure-iot-intelligent-edge- eyecare/ Fault detection system makes “Pass” or “Fail” prediction on each circuit board. The goal is to minimize or remove the need for human intervention.

  6. One type of analytics is to use the trained ML model to perform predictive analytics.

  7. One type of analytics is to use the trained ML model to perform predictive analytics.

  8. https://www.docker.com Inst stead ad of runnin ing g the co code we run the C Contain ainer Application code, the libraries and dependencies needed to run the application Portable, self sufficient, run anywhere

  9. Deploy an Object Detection service on Azure IoT Edge - object-detection-acv - object-detection-azureml Link to repo: https://github.com/microsoft/deploy-MLmodels-on-iotedge

  10. https://docs.microsoft.com/en-us/azure/iot-edge/

  11. ML Module Deployment 4 Containers Create and register container image 3 1 2 Device Compute configuration & Runtime management

  12. Deployment manifest file deployment.json Source: https://docs.microsoft.com/en-us/azure/iot-edge/module-composition

  13. Source: https://github.com/microsoft/ComputerVision/tree/master/scenarios

  14. https://docs.microsoft.com/en-us/azure/cognitive-services/ https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision- service/ https://docs.microsoft.com/en-us/azure/machine-learning/

  15. Pipeline 1: object-detection-acv Objective • Build docker image from Dockerfile • Register docker image in ACR • Deploy both Image-Capture module and People-Detection-Service module

  16. After executing 01_AzureSetup.ipynb notebook

  17. For information required by the user such as subscription names, keys, passwords, resource group names, etc. 00_AMLSetup 03_BuildImage.ipynb

  18. For parameterization of notebooks use papermill. source activate deployment_env echo 03_BuildRegisterImage.ipynb make test-notebook3 papermill 03_BuildRegisterImage.ipynb out_03_BuildRegisterImage.ipynb \ -- log-output \ -- no-progress-bar \ -k python3 \ - p image1_name "img1“ -p image2_name "img2"

  19. Pipeline 2: object-detection- azureml Objective • Illustrate AzureML workspace

  20. object-detection-azureml

  21. object-detection-azureml

  22. 1 3 2

  23. Azure ML Python SDK Deploy Azure IoT Edge modules from the Azure portal Deploy Azure IoT Edge modules from Visual Studio Code tutorial: deploy image classification model on Raspberry Pi

  24. Thank you!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend