SlideShare a Scribd company logo
1 of 33
Download to read offline
Bring Your ML Models to
the Edge with the DeGirum
DeLight Cloud Platform
Shashi Chilappagari
Co-Founder and Chief Architect
DeGirum Corp.
• Not all ML models are compatible with all
hardware
• Runtime software can be hardware
specific
• Different types of ML models need
different software
Developing AI Applications for the Edge
© 2023 DeGirum Corp. 2
Software
Hardware
Models
Evaluating AI Hardware Accelerators is Hard
Buy
hardware
Install
software
toolchain
Port/design
hardware
compatible ML
model
Develop
application
software
Benchmark
performance
Repeat for all hardware options
Result: Separate application software & models for
each hardware option
Wasted time, money, and effort
© 2023 DeGirum Corp. 3
Problems with the Hardware Evaluation Process
Impossible to judge a hardware option based on datasheet
No unified application software that makes evaluation easy
© 2023 DeGirum Corp. 4
1. Cloud access to AI hardware
2. Software that supports
multiple hardware options
3. Tools to choose/port/design
ML models
DeGirum Cloud
Platform & Model Zoo
DeGirum Device Farm
Access through
DeGirum Cloud Server
Direct Access through
Peer-To-Peer VPN
DeGirum Solution: DeLight Cloud Platform
Highlights
© 2023 DeGirum Corp. 5
ORCA EdgeTPU
EdgeTPU
EdgeTPU
GPU
GPU
GPU
CPU
CPU
CPU
Other
Other
Other
ORCA
ORCA
• ORCA-NNX (DeGirum): Available now
• CPU (Intel, AMD, ARM): Available now
• Edge TPU (Google): Coming soon
• GPU (Nvidia): Coming soon (Jetson and Orin series)
• Others can be added on demand
Supported Hardware Options
6
© 2023 DeGirum Corp.
DeGirum PySDK: Sophisticated Applications
with Simple APIs
7
© 2023 DeGirum Corp.
• DeGirum cloud farm
• AI server IP address
• Local hardware
import degirum as dg
zoo=dg.connect(ai_server, model_zoo, token)
model=zoo.load_model(model_name)
res=model(image)
res.image_overlay
• Cloud model zoo
• Local model zoo
• Single model file
Each line in the above code solves a different problem faced by developers
What Do Our Customers Want?
8
© 2023 DeGirum Corp.
No model zoo is large enough: Developers want to
bring their own models
Need tools that allow frictionless integration of
trained models to application software
Challenges in Integrating ML Models
into Applications
© 2023 DeGirum Corp. 9
ML Application Software Pipeline
© 2023 DeGirum Corp. 10
Application software is much more than just ML inference
Input
Capture
Input
Decoding
Input
Resizing
Input Pre-
Processing
ML
Inference
Output
Post-
Processing
Output
Resizing
Output
Rendering
Application
Logic
Model Integration Challenge 1
11
© 2023 DeGirum Corp.
Challenge: Efficient, accurate, and comprehensive
implementation of resizing, pre-processing, and post-
processing stages
Importance: Model accuracy depends on getting all
implementations and parameters right
• Using the same pre/post-processing parameters during training
and inference is crucial to maintaining model accuracy when
porting to new hardware
• Software needs to support various options for these parameters
• Image backend, resize method, interpolation option, input
normalization, input quantization, nms threshold, confidence
threshold
• Comprehensive and accurate implementation is a lot of work!!!
Why is it Hard to Implement these Stages?
12
© 2023 DeGirum Corp.
Model inference API includes decoding, resizing, pre-processing, and
post-processing
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘efficientnet’)
res=model(‘cat.jpg’)
res.image_overlay
How Does DeGirum PySDK Solve the Problem?
13
© 2023 DeGirum Corp.
Model Configuration JSON File
14
© 2023 DeGirum Corp.
{
"PRE_PROCESS": [
{
"InputType": "Image",
"InputN": 1,
"InputH": 224,
"InputW": 224,
"InputC": 3,
"InputQuantEn": true,
"InputQuantOffset": 114,
"InputQuantScale": 0.018658,
"InputPadMethod": "crop-last",
"InputImgNormEn": true,
"InputImgMean": [ 0.485, 0.456, 0.406 ],
"InputImgStd": [ 0.229, 0.224, 0.225 ],
"InputResizeMethod": "bicubic",
"InputCropPercentage": 0.875
}
],
"MODEL_PARAMETERS": [
{
"ModelPath": "efficientnet_es_orca_2.n2x"
}
],
"POST_PROCESS": [
{
"OutputPostprocessType": "Classification",
"OutputTopK": 5,
"OutputConfThreshold": 0.1,
"LabelsPath": "labels_ILSVRC2012_1000.json"
}
],
"DEVICE": [
{
"DeviceType": "ORCA",
"RuntimeAgent": "N2X"
}
],
}
Allows specifying different parameters
Model Integration Challenge 2
15
© 2023 DeGirum Corp.
Challenge: Visualizing output of ML model
Importance: Developers need to visualize ML model output
to get a qualitative sense of model performance
• Different types of models provide different types of information
• Image classification: Top labels and their probabilities
• Object detection: Object categories and their locations
(bounding boxes)
• Semantic segmentation: Category label for every pixel
• Pose detection: Key point locations
• Visualizing output for different types of models requires developing
custom output rendering logic for each type
Why is Model Output Visualization Challenging?
16
© 2023 DeGirum Corp.
How Does DeGirum PySDK Solve the Problem?
17
© 2023 DeGirum Corp.
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘yolov5s’)
res=model(image)
res.image_overlay Model inference results object
helps visualize the output
Output Visualization Using PySDK
18
© 2023 DeGirum Corp.
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘efficientnet’)
res=model(image)
res.image_overlay
Output Visualization Using PySDK
19
© 2023 DeGirum Corp.
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘yolov5s’)
res=model(image)
res.image_overlay
Output Visualization Using PySDK
20
© 2023 DeGirum Corp.
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘deeplab_seg’)
res=model(image)
res.image_overlay
• Image classification
• Object detection
• Semantic segmentation
• Pose detection
• Hand landmark detection
• License plate OCR
• Custom logic via python
Postprocessors Supported by PySDK
21
© 2023 DeGirum Corp.
Model Integration Challenge 3
22
© 2023 DeGirum Corp.
Challenge: Developing software that works for multiple
hardware options
Importance:
(1) Enables easy and fair comparison of hardware options
(2) Enables multiple product lines with different hardware
but single software
• Different hardware use different runtimes
• N2X: DeGirum
• OpenVINO: Intel
• TensorRT: Nvidia
• TFLite: Google
• ONNXRT: Microsoft
• Unifying multiple hardware options into one software requires significant
amount of work
Challenge in Developing Unified Software
23
© 2023 DeGirum Corp.
How Does DeGirum PySDK Solve the Problem?
24
© 2023 DeGirum Corp.
DeGirum
Core
Runtime
Agent
Interface
TRT Runtime
Plugin
TFLite
Runtime
Plugin
ONNX
Runtime
Plugin
DeGirum
N2X Runtime
Plugin
GPU
DLA
CPU
EdgeTPU
CPU
GPU
Other
CPU
Orca
PySDK
Server
DeGirum
PySDK
Client
Common runtime agents are integrated as plugins
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘yolov5_orca’)
res=model(image)
res.image_overlay
Software Supporting Multiple Hardware
25
© 2023 DeGirum Corp.
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘yolov5_cpu’)
res=model(image)
res.image_overlay
Software Supporting Multiple Hardware
26
© 2023 DeGirum Corp.
import degirum as dg
zoo=dg.connect()
model=zoo.load_model(‘yolov5_gpu’)
res=model(image)
res.image_overlay
Software Supporting Multiple Hardware
27
© 2023 DeGirum Corp.
Model Integration Challenge 4
28
© 2023 DeGirum Corp.
Challenge: Efficient pipelining of all stages in the ML
application
Importance:
(1) Needed for optimizing application performance
(2) Needed to ensure hardware is utilized efficiently
• Software contains multiple stages with each stage running
(possibly) on a different hardware resource
• ML inference on AI hardware accelerator, application logic on
host CPU, input decoding on special decoders
• Scheduling workloads for different hardware components
efficiently is a difficult problem
• Balancing trade-offs between frames per second (FPS) and latency
adds extra layer of complexity
• Managing multiple applications requires lot of system level testing
Challenges in Pipelining
29
© 2023 DeGirum Corp.
How Does DeGirum PySDK Solve the Problem?
30
© 2023 DeGirum Corp.
import degirum as dg
import mytools
camera_id = 0
zoo=dg.connect()
model=zoo.load_model(‘yolo_v5s_face’)
with mytools.Display("AI Camera") as display, 
mytools.open_video_stream(camera_id) as stream:
for res in model.predict_batch(mytools.video_source(stream)):
display.show(res.image_overlay)
• DeGirum DeLight platform speeds your work in selecting
processors and models, and building portable edge ML
applications by providing
• Cloud access to edge hardware
• Software that supports multiple hardware options
• Simple to use inference APIs
• Tools that enable visualizing model outputs
• Methods to optimize application performance
Summary
31
© 2023 DeGirum Corp.
Save time,
money,
and effort
•Request access to DeGirum DeLight Cloud Platform at
https://cs.degirum.com/
•See code examples of PySDK at
https://github.com/DeGirum/PySDKExamples
•Download compiler, AI server, and AI client dockers at
https://hub.docker.com/u/degirum
•Watch demos at https://www.youtube.com/@degirumcorp.5330
Additional Information
32
© 2023 DeGirum Corp.
Resources
2023 Embedded Vision
Summit
Visit our booth!
DeGirum Website
https://www.degirum.com/
DeGirum Cloud Platform
https://cs.degirum.com/
DeGirum GitHub Repo
https://github.com/DeGirum/Py
SDKExamples
© 2023 DeGirum Corp. 33

More Related Content

Similar to “Bring Your ML Models to the Edge with the DeGirum DeLight Cloud Platform,” a Presentation from DeGirum

Introduction to Adaptive and 3DEXPERIENCE Cloud
Introduction to Adaptive and 3DEXPERIENCE CloudIntroduction to Adaptive and 3DEXPERIENCE Cloud
Introduction to Adaptive and 3DEXPERIENCE CloudAdaptive Corporation
 
Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Michael Elder
 
Component Based Model Driven Development of Mission Critical Defense Applicat...
Component Based Model Driven Development of Mission Critical Defense Applicat...Component Based Model Driven Development of Mission Critical Defense Applicat...
Component Based Model Driven Development of Mission Critical Defense Applicat...Remedy IT
 
Migration & upgrades best practice upgrade pathways to emc documentum 7
Migration & upgrades   best practice upgrade pathways to emc documentum 7Migration & upgrades   best practice upgrade pathways to emc documentum 7
Migration & upgrades best practice upgrade pathways to emc documentum 7Haytham Ghandour
 
“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...
“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...
“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...Edge AI and Vision Alliance
 
Parallel & Distributed Deep Learning - Dataworks Summit
Parallel & Distributed Deep Learning - Dataworks SummitParallel & Distributed Deep Learning - Dataworks Summit
Parallel & Distributed Deep Learning - Dataworks SummitRafael Arana
 
Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...IBM UrbanCode Products
 
Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...
Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...
Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...KTN
 
Leveraging Artificial Intelligence Processing on Edge Devices
Leveraging Artificial Intelligence Processing on Edge DevicesLeveraging Artificial Intelligence Processing on Edge Devices
Leveraging Artificial Intelligence Processing on Edge DevicesICS
 
Concept of Hybrid Applications
Concept of Hybrid ApplicationsConcept of Hybrid Applications
Concept of Hybrid ApplicationsSkytap Cloud
 
Parallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSWParallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSWDataWorks Summit
 
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...Kiko Monteverde
 
TIMES cloud Service TIMES/MIRO App
TIMES cloud Service  TIMES/MIRO AppTIMES cloud Service  TIMES/MIRO App
TIMES cloud Service TIMES/MIRO AppIEA-ETSAP
 
SMART ANDROID GRAPHICAL PASSWORD
SMART ANDROID GRAPHICAL PASSWORDSMART ANDROID GRAPHICAL PASSWORD
SMART ANDROID GRAPHICAL PASSWORDIRJET Journal
 
仕事ではじめる機械学習
仕事ではじめる機械学習仕事ではじめる機械学習
仕事ではじめる機械学習Aki Ariga
 
Es legacy System & Data Migration
Es legacy System & Data MigrationEs legacy System & Data Migration
Es legacy System & Data MigrationITC Infotech
 
Project 00 Report
Project 00 ReportProject 00 Report
Project 00 Reportspiffyjj115
 
Building a Modern Enterprise SOA at LinkedIn
Building a Modern Enterprise SOA at LinkedInBuilding a Modern Enterprise SOA at LinkedIn
Building a Modern Enterprise SOA at LinkedInJens Pillgram-Larsen
 
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...Edge AI and Vision Alliance
 

Similar to “Bring Your ML Models to the Edge with the DeGirum DeLight Cloud Platform,” a Presentation from DeGirum (20)

Introduction to Adaptive and 3DEXPERIENCE Cloud
Introduction to Adaptive and 3DEXPERIENCE CloudIntroduction to Adaptive and 3DEXPERIENCE Cloud
Introduction to Adaptive and 3DEXPERIENCE Cloud
 
Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)
 
Component Based Model Driven Development of Mission Critical Defense Applicat...
Component Based Model Driven Development of Mission Critical Defense Applicat...Component Based Model Driven Development of Mission Critical Defense Applicat...
Component Based Model Driven Development of Mission Critical Defense Applicat...
 
Migration & upgrades best practice upgrade pathways to emc documentum 7
Migration & upgrades   best practice upgrade pathways to emc documentum 7Migration & upgrades   best practice upgrade pathways to emc documentum 7
Migration & upgrades best practice upgrade pathways to emc documentum 7
 
“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...
“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...
“Data Versioning: Towards Reproducibility in Machine Learning,” a Presentatio...
 
Parallel & Distributed Deep Learning - Dataworks Summit
Parallel & Distributed Deep Learning - Dataworks SummitParallel & Distributed Deep Learning - Dataworks Summit
Parallel & Distributed Deep Learning - Dataworks Summit
 
Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...
 
Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...
Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...
Digital Security by Design: Imperas’ Interests - Simon Davidmann, Imperas Sof...
 
Leveraging Artificial Intelligence Processing on Edge Devices
Leveraging Artificial Intelligence Processing on Edge DevicesLeveraging Artificial Intelligence Processing on Edge Devices
Leveraging Artificial Intelligence Processing on Edge Devices
 
Concept of Hybrid Applications
Concept of Hybrid ApplicationsConcept of Hybrid Applications
Concept of Hybrid Applications
 
Parallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSWParallel/Distributed Deep Learning and CDSW
Parallel/Distributed Deep Learning and CDSW
 
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
 
TIMES cloud Service TIMES/MIRO App
TIMES cloud Service  TIMES/MIRO AppTIMES cloud Service  TIMES/MIRO App
TIMES cloud Service TIMES/MIRO App
 
SMART ANDROID GRAPHICAL PASSWORD
SMART ANDROID GRAPHICAL PASSWORDSMART ANDROID GRAPHICAL PASSWORD
SMART ANDROID GRAPHICAL PASSWORD
 
仕事ではじめる機械学習
仕事ではじめる機械学習仕事ではじめる機械学習
仕事ではじめる機械学習
 
Es legacy System & Data Migration
Es legacy System & Data MigrationEs legacy System & Data Migration
Es legacy System & Data Migration
 
Project 00 Report
Project 00 ReportProject 00 Report
Project 00 Report
 
Project 00 Report
Project 00 ReportProject 00 Report
Project 00 Report
 
Building a Modern Enterprise SOA at LinkedIn
Building a Modern Enterprise SOA at LinkedInBuilding a Modern Enterprise SOA at LinkedIn
Building a Modern Enterprise SOA at LinkedIn
 
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
 

More from Edge AI and Vision Alliance

“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...
“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...
“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...Edge AI and Vision Alliance
 
“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...
“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...
“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...Edge AI and Vision Alliance
 
“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...
“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...
“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...Edge AI and Vision Alliance
 
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...Edge AI and Vision Alliance
 
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...Edge AI and Vision Alliance
 
“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...
“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...
“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...Edge AI and Vision Alliance
 
“Vision-language Representations for Robotics,” a Presentation from the Unive...
“Vision-language Representations for Robotics,” a Presentation from the Unive...“Vision-language Representations for Robotics,” a Presentation from the Unive...
“Vision-language Representations for Robotics,” a Presentation from the Unive...Edge AI and Vision Alliance
 
“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights
“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights
“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsightsEdge AI and Vision Alliance
 
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...Edge AI and Vision Alliance
 
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...Edge AI and Vision Alliance
 
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...Edge AI and Vision Alliance
 
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...Edge AI and Vision Alliance
 
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...Edge AI and Vision Alliance
 
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...Edge AI and Vision Alliance
 
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...Edge AI and Vision Alliance
 
“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from SamsaraEdge AI and Vision Alliance
 
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...Edge AI and Vision Alliance
 
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...Edge AI and Vision Alliance
 
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...Edge AI and Vision Alliance
 
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...Edge AI and Vision Alliance
 

More from Edge AI and Vision Alliance (20)

“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...
“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...
“Learning Compact DNN Models for Embedded Vision,” a Presentation from the Un...
 
“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...
“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...
“Introduction to Computer Vision with CNNs,” a Presentation from Mohammad Hag...
 
“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...
“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...
“Selecting Tools for Developing, Monitoring and Maintaining ML Models,” a Pre...
 
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
“Building Accelerated GStreamer Applications for Video and Audio AI,” a Prese...
 
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
“Understanding, Selecting and Optimizing Object Detectors for Edge Applicatio...
 
“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...
“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...
“Introduction to Modern LiDAR for Machine Perception,” a Presentation from th...
 
“Vision-language Representations for Robotics,” a Presentation from the Unive...
“Vision-language Representations for Robotics,” a Presentation from the Unive...“Vision-language Representations for Robotics,” a Presentation from the Unive...
“Vision-language Representations for Robotics,” a Presentation from the Unive...
 
“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights
“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights
“ADAS and AV Sensors: What’s Winning and Why?,” a Presentation from TechInsights
 
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
 
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
 
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
 
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
 
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
 
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
 
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
 
“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara
 
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
 
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
 
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
 
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
 

Recently uploaded

WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 

Recently uploaded (20)

WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 

“Bring Your ML Models to the Edge with the DeGirum DeLight Cloud Platform,” a Presentation from DeGirum

  • 1. Bring Your ML Models to the Edge with the DeGirum DeLight Cloud Platform Shashi Chilappagari Co-Founder and Chief Architect DeGirum Corp.
  • 2. • Not all ML models are compatible with all hardware • Runtime software can be hardware specific • Different types of ML models need different software Developing AI Applications for the Edge © 2023 DeGirum Corp. 2 Software Hardware Models
  • 3. Evaluating AI Hardware Accelerators is Hard Buy hardware Install software toolchain Port/design hardware compatible ML model Develop application software Benchmark performance Repeat for all hardware options Result: Separate application software & models for each hardware option Wasted time, money, and effort © 2023 DeGirum Corp. 3
  • 4. Problems with the Hardware Evaluation Process Impossible to judge a hardware option based on datasheet No unified application software that makes evaluation easy © 2023 DeGirum Corp. 4
  • 5. 1. Cloud access to AI hardware 2. Software that supports multiple hardware options 3. Tools to choose/port/design ML models DeGirum Cloud Platform & Model Zoo DeGirum Device Farm Access through DeGirum Cloud Server Direct Access through Peer-To-Peer VPN DeGirum Solution: DeLight Cloud Platform Highlights © 2023 DeGirum Corp. 5 ORCA EdgeTPU EdgeTPU EdgeTPU GPU GPU GPU CPU CPU CPU Other Other Other ORCA ORCA
  • 6. • ORCA-NNX (DeGirum): Available now • CPU (Intel, AMD, ARM): Available now • Edge TPU (Google): Coming soon • GPU (Nvidia): Coming soon (Jetson and Orin series) • Others can be added on demand Supported Hardware Options 6 © 2023 DeGirum Corp.
  • 7. DeGirum PySDK: Sophisticated Applications with Simple APIs 7 © 2023 DeGirum Corp. • DeGirum cloud farm • AI server IP address • Local hardware import degirum as dg zoo=dg.connect(ai_server, model_zoo, token) model=zoo.load_model(model_name) res=model(image) res.image_overlay • Cloud model zoo • Local model zoo • Single model file Each line in the above code solves a different problem faced by developers
  • 8. What Do Our Customers Want? 8 © 2023 DeGirum Corp. No model zoo is large enough: Developers want to bring their own models Need tools that allow frictionless integration of trained models to application software
  • 9. Challenges in Integrating ML Models into Applications © 2023 DeGirum Corp. 9
  • 10. ML Application Software Pipeline © 2023 DeGirum Corp. 10 Application software is much more than just ML inference Input Capture Input Decoding Input Resizing Input Pre- Processing ML Inference Output Post- Processing Output Resizing Output Rendering Application Logic
  • 11. Model Integration Challenge 1 11 © 2023 DeGirum Corp. Challenge: Efficient, accurate, and comprehensive implementation of resizing, pre-processing, and post- processing stages Importance: Model accuracy depends on getting all implementations and parameters right
  • 12. • Using the same pre/post-processing parameters during training and inference is crucial to maintaining model accuracy when porting to new hardware • Software needs to support various options for these parameters • Image backend, resize method, interpolation option, input normalization, input quantization, nms threshold, confidence threshold • Comprehensive and accurate implementation is a lot of work!!! Why is it Hard to Implement these Stages? 12 © 2023 DeGirum Corp.
  • 13. Model inference API includes decoding, resizing, pre-processing, and post-processing import degirum as dg zoo=dg.connect() model=zoo.load_model(‘efficientnet’) res=model(‘cat.jpg’) res.image_overlay How Does DeGirum PySDK Solve the Problem? 13 © 2023 DeGirum Corp.
  • 14. Model Configuration JSON File 14 © 2023 DeGirum Corp. { "PRE_PROCESS": [ { "InputType": "Image", "InputN": 1, "InputH": 224, "InputW": 224, "InputC": 3, "InputQuantEn": true, "InputQuantOffset": 114, "InputQuantScale": 0.018658, "InputPadMethod": "crop-last", "InputImgNormEn": true, "InputImgMean": [ 0.485, 0.456, 0.406 ], "InputImgStd": [ 0.229, 0.224, 0.225 ], "InputResizeMethod": "bicubic", "InputCropPercentage": 0.875 } ], "MODEL_PARAMETERS": [ { "ModelPath": "efficientnet_es_orca_2.n2x" } ], "POST_PROCESS": [ { "OutputPostprocessType": "Classification", "OutputTopK": 5, "OutputConfThreshold": 0.1, "LabelsPath": "labels_ILSVRC2012_1000.json" } ], "DEVICE": [ { "DeviceType": "ORCA", "RuntimeAgent": "N2X" } ], } Allows specifying different parameters
  • 15. Model Integration Challenge 2 15 © 2023 DeGirum Corp. Challenge: Visualizing output of ML model Importance: Developers need to visualize ML model output to get a qualitative sense of model performance
  • 16. • Different types of models provide different types of information • Image classification: Top labels and their probabilities • Object detection: Object categories and their locations (bounding boxes) • Semantic segmentation: Category label for every pixel • Pose detection: Key point locations • Visualizing output for different types of models requires developing custom output rendering logic for each type Why is Model Output Visualization Challenging? 16 © 2023 DeGirum Corp.
  • 17. How Does DeGirum PySDK Solve the Problem? 17 © 2023 DeGirum Corp. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘yolov5s’) res=model(image) res.image_overlay Model inference results object helps visualize the output
  • 18. Output Visualization Using PySDK 18 © 2023 DeGirum Corp. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘efficientnet’) res=model(image) res.image_overlay
  • 19. Output Visualization Using PySDK 19 © 2023 DeGirum Corp. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘yolov5s’) res=model(image) res.image_overlay
  • 20. Output Visualization Using PySDK 20 © 2023 DeGirum Corp. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘deeplab_seg’) res=model(image) res.image_overlay
  • 21. • Image classification • Object detection • Semantic segmentation • Pose detection • Hand landmark detection • License plate OCR • Custom logic via python Postprocessors Supported by PySDK 21 © 2023 DeGirum Corp.
  • 22. Model Integration Challenge 3 22 © 2023 DeGirum Corp. Challenge: Developing software that works for multiple hardware options Importance: (1) Enables easy and fair comparison of hardware options (2) Enables multiple product lines with different hardware but single software
  • 23. • Different hardware use different runtimes • N2X: DeGirum • OpenVINO: Intel • TensorRT: Nvidia • TFLite: Google • ONNXRT: Microsoft • Unifying multiple hardware options into one software requires significant amount of work Challenge in Developing Unified Software 23 © 2023 DeGirum Corp.
  • 24. How Does DeGirum PySDK Solve the Problem? 24 © 2023 DeGirum Corp. DeGirum Core Runtime Agent Interface TRT Runtime Plugin TFLite Runtime Plugin ONNX Runtime Plugin DeGirum N2X Runtime Plugin GPU DLA CPU EdgeTPU CPU GPU Other CPU Orca PySDK Server DeGirum PySDK Client Common runtime agents are integrated as plugins
  • 25. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘yolov5_orca’) res=model(image) res.image_overlay Software Supporting Multiple Hardware 25 © 2023 DeGirum Corp.
  • 26. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘yolov5_cpu’) res=model(image) res.image_overlay Software Supporting Multiple Hardware 26 © 2023 DeGirum Corp.
  • 27. import degirum as dg zoo=dg.connect() model=zoo.load_model(‘yolov5_gpu’) res=model(image) res.image_overlay Software Supporting Multiple Hardware 27 © 2023 DeGirum Corp.
  • 28. Model Integration Challenge 4 28 © 2023 DeGirum Corp. Challenge: Efficient pipelining of all stages in the ML application Importance: (1) Needed for optimizing application performance (2) Needed to ensure hardware is utilized efficiently
  • 29. • Software contains multiple stages with each stage running (possibly) on a different hardware resource • ML inference on AI hardware accelerator, application logic on host CPU, input decoding on special decoders • Scheduling workloads for different hardware components efficiently is a difficult problem • Balancing trade-offs between frames per second (FPS) and latency adds extra layer of complexity • Managing multiple applications requires lot of system level testing Challenges in Pipelining 29 © 2023 DeGirum Corp.
  • 30. How Does DeGirum PySDK Solve the Problem? 30 © 2023 DeGirum Corp. import degirum as dg import mytools camera_id = 0 zoo=dg.connect() model=zoo.load_model(‘yolo_v5s_face’) with mytools.Display("AI Camera") as display, mytools.open_video_stream(camera_id) as stream: for res in model.predict_batch(mytools.video_source(stream)): display.show(res.image_overlay)
  • 31. • DeGirum DeLight platform speeds your work in selecting processors and models, and building portable edge ML applications by providing • Cloud access to edge hardware • Software that supports multiple hardware options • Simple to use inference APIs • Tools that enable visualizing model outputs • Methods to optimize application performance Summary 31 © 2023 DeGirum Corp. Save time, money, and effort
  • 32. •Request access to DeGirum DeLight Cloud Platform at https://cs.degirum.com/ •See code examples of PySDK at https://github.com/DeGirum/PySDKExamples •Download compiler, AI server, and AI client dockers at https://hub.docker.com/u/degirum •Watch demos at https://www.youtube.com/@degirumcorp.5330 Additional Information 32 © 2023 DeGirum Corp.
  • 33. Resources 2023 Embedded Vision Summit Visit our booth! DeGirum Website https://www.degirum.com/ DeGirum Cloud Platform https://cs.degirum.com/ DeGirum GitHub Repo https://github.com/DeGirum/Py SDKExamples © 2023 DeGirum Corp. 33