SlideShare a Scribd company logo
1 of 22
Download to read offline
Lars Gregori, SAP Hybris
November 25, 2017
Using A Trained Model
On Your Mobile Device
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 2
CoreML
▪ What is CoreML?
Train a model
▪ Train, convert, and add a model to an app.
Use a model
▪ Add an available model to an app.
Agenda
CoreML
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 4
A trained model is the result of applying a machine learning algorithm
to a set of training data.
The model makes predictions based on new input data.
CoreML
https://developer.apple.com/documentation/coreml
… integrates trained machine learning models into your app.
XOR example
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 6
0 xor 0 = 0
0 xor 1 = 1
1 xor 0 = 1
1 xor 1 = 0
XOR
if a != b
INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 7
DEMO
Inception v3 example
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 9
arXiv:1512.00567 - Rethinking the Inception Architecture for Computer Vision
Inception v3
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 10
Inceptionv3.mlmodel
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 11
Inceptionv3.mlmodel
INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 12
INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 13
DEMO
Style transfer example
INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 15https://developer.apple.com/documentation/coreml/converting_trained_models_to_core_ml
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 16
Style transfer with Torch & CoreML
https://blog.prismalabs.ai/diy-prisma-app-with-coreml-6b4994cc99e1
INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 17
DEMO
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 18
Summary
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 19
Tensorflow Mobile
Tensorflow Lite
Android?
PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 20
CoreML

https://developer.apple.com/documentation/coreml
XOR example

https://amundtveit.com/2017/06/07/keras-deep-learning-with-apples-coremltools-on-ios-11-part-1/
Rethinking the Inception Architecture for Computer Vision.

https://arxiv.org/abs/1512.00567
Torch7 -> CoreML 

https://github.com/prisma-ai/torch2coreml
Awesome Core ML Models

https://github.com/likedan/Awesome-CoreML-Models
Links
Thank you.
Lars Gregori, SAP Hybris
@choas
Hi Lars …
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components 

of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated
companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are 

set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release
any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/
or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information
in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various 

risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements,
and they should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) 

in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies. 

See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
© 2017 SAP SE or an SAP affiliate company. All rights reserved.

More Related Content

What's hot

Smau Roma 2010 Massimo Sala
Smau Roma 2010 Massimo SalaSmau Roma 2010 Massimo Sala
Smau Roma 2010 Massimo SalaSMAU
 
Microservices without PaaS is like Bavaria without Beer
Microservices without PaaS is like Bavaria without BeerMicroservices without PaaS is like Bavaria without Beer
Microservices without PaaS is like Bavaria without BeerJohannes Engelke
 
Sap io t-technology-day-at-frankfurt
Sap io t-technology-day-at-frankfurtSap io t-technology-day-at-frankfurt
Sap io t-technology-day-at-frankfurtPiyush Bhandari
 
Open sap fiori1_week_01_unit_01_courseintro
Open sap fiori1_week_01_unit_01_courseintroOpen sap fiori1_week_01_unit_01_courseintro
Open sap fiori1_week_01_unit_01_courseintroNagendra Babu
 
New Opportunities Created By New Xsemble Technology
New Opportunities Created By New Xsemble TechnologyNew Opportunities Created By New Xsemble Technology
New Opportunities Created By New Xsemble TechnologyAshish Belagali
 
160d74ec 597c-0010-82c7-eda71af511fa
160d74ec 597c-0010-82c7-eda71af511fa160d74ec 597c-0010-82c7-eda71af511fa
160d74ec 597c-0010-82c7-eda71af511faNagendra Babu
 
Version 9 crm customer relationship mngt
Version 9 crm customer relationship mngtVersion 9 crm customer relationship mngt
Version 9 crm customer relationship mngtkmussel
 
Performance Support Architektur & Organisation
Performance Support Architektur & OrganisationPerformance Support Architektur & Organisation
Performance Support Architektur & OrganisationThomas Jenewein
 

What's hot (10)

Smau Roma 2010 Massimo Sala
Smau Roma 2010 Massimo SalaSmau Roma 2010 Massimo Sala
Smau Roma 2010 Massimo Sala
 
Microservices without PaaS is like Bavaria without Beer
Microservices without PaaS is like Bavaria without BeerMicroservices without PaaS is like Bavaria without Beer
Microservices without PaaS is like Bavaria without Beer
 
Sap io t-technology-day-at-frankfurt
Sap io t-technology-day-at-frankfurtSap io t-technology-day-at-frankfurt
Sap io t-technology-day-at-frankfurt
 
Open sap fiori1_week_01_unit_01_courseintro
Open sap fiori1_week_01_unit_01_courseintroOpen sap fiori1_week_01_unit_01_courseintro
Open sap fiori1_week_01_unit_01_courseintro
 
New Opportunities Created By New Xsemble Technology
New Opportunities Created By New Xsemble TechnologyNew Opportunities Created By New Xsemble Technology
New Opportunities Created By New Xsemble Technology
 
160d74ec 597c-0010-82c7-eda71af511fa
160d74ec 597c-0010-82c7-eda71af511fa160d74ec 597c-0010-82c7-eda71af511fa
160d74ec 597c-0010-82c7-eda71af511fa
 
WPMResume
WPMResumeWPMResume
WPMResume
 
Version 9 crm customer relationship mngt
Version 9 crm customer relationship mngtVersion 9 crm customer relationship mngt
Version 9 crm customer relationship mngt
 
Performance Support Architektur & Organisation
Performance Support Architektur & OrganisationPerformance Support Architektur & Organisation
Performance Support Architektur & Organisation
 
SAP EWN 9.5
SAP EWN 9.5SAP EWN 9.5
SAP EWN 9.5
 

Similar to Using a trained model on your mobile device

Innovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise PlatformInnovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise PlatformVladimir Pavlov
 
News about UI5 that you absolutely have to know (UI5con 2017)
News about UI5 that you absolutely have to know (UI5con 2017)News about UI5 that you absolutely have to know (UI5con 2017)
News about UI5 that you absolutely have to know (UI5con 2017)Stefan Beck
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowFlowable
 
SAP Cloud Platform x Microsoft Graph
SAP Cloud Platform x Microsoft GraphSAP Cloud Platform x Microsoft Graph
SAP Cloud Platform x Microsoft GraphMarius Obert
 
Building cool native ios enterprise apps with sap cloud platform sdk for ios
Building cool native ios enterprise apps with sap cloud platform sdk for iosBuilding cool native ios enterprise apps with sap cloud platform sdk for ios
Building cool native ios enterprise apps with sap cloud platform sdk for iosNagesh Caparthy
 
ASUG84544 - Workflow Solutions from SAP When to Use What.pdf
ASUG84544 - Workflow Solutions from SAP When to Use What.pdfASUG84544 - Workflow Solutions from SAP When to Use What.pdf
ASUG84544 - Workflow Solutions from SAP When to Use What.pdfssuser8bab641
 
Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...
Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...
Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...Association for Computational Linguistics
 
More than colors and white spaces – designing enterprise applications - Janin...
More than colors and white spaces – designing enterprise applications - Janin...More than colors and white spaces – designing enterprise applications - Janin...
More than colors and white spaces – designing enterprise applications - Janin...Codemotion
 
Supplier Integration to Ariba Network: Cloud Integration Gateway
Supplier Integration to Ariba Network: Cloud Integration GatewaySupplier Integration to Ariba Network: Cloud Integration Gateway
Supplier Integration to Ariba Network: Cloud Integration GatewaySAP Ariba
 
Quantify your drive: IoT on a personal scale with SAP technologies
Quantify your drive: IoT on a personal scale with SAP technologiesQuantify your drive: IoT on a personal scale with SAP technologies
Quantify your drive: IoT on a personal scale with SAP technologiesVitaliy Rudnytskiy
 
SAP Workflow in S4HANA
SAP Workflow in S4HANASAP Workflow in S4HANA
SAP Workflow in S4HANAManish Singh
 
4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...
4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...
4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...PROIDEA
 
Jenkins world 2018
Jenkins world 2018Jenkins world 2018
Jenkins world 2018Lowell Young
 
Masterclass Mendix (Jan Penninkhof / Twan van den Broek)
Masterclass Mendix (Jan Penninkhof / Twan van den Broek)Masterclass Mendix (Jan Penninkhof / Twan van den Broek)
Masterclass Mendix (Jan Penninkhof / Twan van den Broek)Twan van den Broek
 
Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...
Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...
Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...Stefan Guertzgen
 
Open sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplovOpen sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplovNagendra Babu
 
Slides for video SAP Cloud Strategy
Slides for video SAP Cloud StrategySlides for video SAP Cloud Strategy
Slides for video SAP Cloud StrategySven Denecken
 

Similar to Using a trained model on your mobile device (20)

Innovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise PlatformInnovate and Extend with an Agile Digital Enterprise Platform
Innovate and Extend with an Agile Digital Enterprise Platform
 
News about UI5 that you absolutely have to know (UI5con 2017)
News about UI5 that you absolutely have to know (UI5con 2017)News about UI5 that you absolutely have to know (UI5con 2017)
News about UI5 that you absolutely have to know (UI5con 2017)
 
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP WorkflowHow SAP uses Flowable as its BPMN engine for SAP CP Workflow
How SAP uses Flowable as its BPMN engine for SAP CP Workflow
 
SAP Cloud Platform x Microsoft Graph
SAP Cloud Platform x Microsoft GraphSAP Cloud Platform x Microsoft Graph
SAP Cloud Platform x Microsoft Graph
 
Building cool native ios enterprise apps with sap cloud platform sdk for ios
Building cool native ios enterprise apps with sap cloud platform sdk for iosBuilding cool native ios enterprise apps with sap cloud platform sdk for ios
Building cool native ios enterprise apps with sap cloud platform sdk for ios
 
ASUG84544 - Workflow Solutions from SAP When to Use What.pdf
ASUG84544 - Workflow Solutions from SAP When to Use What.pdfASUG84544 - Workflow Solutions from SAP When to Use What.pdf
ASUG84544 - Workflow Solutions from SAP When to Use What.pdf
 
OpenUI5
OpenUI5OpenUI5
OpenUI5
 
Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...
Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...
Daniel Dalhmeier - 2017 - On the Challenges of Translating NLP Research into ...
 
More than colors and white spaces – designing enterprise applications - Janin...
More than colors and white spaces – designing enterprise applications - Janin...More than colors and white spaces – designing enterprise applications - Janin...
More than colors and white spaces – designing enterprise applications - Janin...
 
Supplier Integration to Ariba Network: Cloud Integration Gateway
Supplier Integration to Ariba Network: Cloud Integration GatewaySupplier Integration to Ariba Network: Cloud Integration Gateway
Supplier Integration to Ariba Network: Cloud Integration Gateway
 
SAP Developers Update
SAP  Developers UpdateSAP  Developers Update
SAP Developers Update
 
Quantify your drive: IoT on a personal scale with SAP technologies
Quantify your drive: IoT on a personal scale with SAP technologiesQuantify your drive: IoT on a personal scale with SAP technologies
Quantify your drive: IoT on a personal scale with SAP technologies
 
SAP Workflow in S4HANA
SAP Workflow in S4HANASAP Workflow in S4HANA
SAP Workflow in S4HANA
 
4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...
4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...
4Developers 2015: Responsywne aplikacje web'owe z użyciem OpenUI5 - Witalij R...
 
Jenkins world 2018
Jenkins world 2018Jenkins world 2018
Jenkins world 2018
 
Masterclass Mendix (Jan Penninkhof / Twan van den Broek)
Masterclass Mendix (Jan Penninkhof / Twan van den Broek)Masterclass Mendix (Jan Penninkhof / Twan van den Broek)
Masterclass Mendix (Jan Penninkhof / Twan van den Broek)
 
Cloud Computing at SAP
Cloud Computing at SAPCloud Computing at SAP
Cloud Computing at SAP
 
Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...
Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...
Covestro - How Does the Maker of High-Tech Polymers Use One Source of Truth t...
 
Open sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplovOpen sap fiori1_week_02_unit_01_deplov
Open sap fiori1_week_02_unit_01_deplov
 
Slides for video SAP Cloud Strategy
Slides for video SAP Cloud StrategySlides for video SAP Cloud Strategy
Slides for video SAP Cloud Strategy
 

More from Lars Gregori

BYOM - Bring Your Own Model
BYOM - Bring Your Own ModelBYOM - Bring Your Own Model
BYOM - Bring Your Own ModelLars Gregori
 
uTensor - embedded devices and machine learning models
uTensor - embedded devices and machine learning modelsuTensor - embedded devices and machine learning models
uTensor - embedded devices and machine learning modelsLars Gregori
 
SAP Leonardo Machine Learning
SAP Leonardo Machine LearningSAP Leonardo Machine Learning
SAP Leonardo Machine LearningLars Gregori
 
Minecraft and reinforcement learning
Minecraft and reinforcement learningMinecraft and reinforcement learning
Minecraft and reinforcement learningLars Gregori
 
Machine Learning Models on Mobile Devices
Machine Learning Models on Mobile DevicesMachine Learning Models on Mobile Devices
Machine Learning Models on Mobile DevicesLars Gregori
 
Minecraft and Reinforcement Learning
Minecraft and Reinforcement LearningMinecraft and Reinforcement Learning
Minecraft and Reinforcement LearningLars Gregori
 
IoT protocolls - smart washing machine
IoT protocolls - smart washing machineIoT protocolls - smart washing machine
IoT protocolls - smart washing machineLars Gregori
 
[DE] AI und Minecraft
[DE] AI und Minecraft[DE] AI und Minecraft
[DE] AI und MinecraftLars Gregori
 
Minecraft and Reinforcement Learning
Minecraft and Reinforcement LearningMinecraft and Reinforcement Learning
Minecraft and Reinforcement LearningLars Gregori
 
[DE] IoT Protokolle
[DE] IoT Protokolle[DE] IoT Protokolle
[DE] IoT ProtokolleLars Gregori
 
Using a trained model on your mobile device
Using a trained model on your mobile deviceUsing a trained model on your mobile device
Using a trained model on your mobile deviceLars Gregori
 
[German] Boards für das IoT-Prototyping
[German] Boards für das IoT-Prototyping[German] Boards für das IoT-Prototyping
[German] Boards für das IoT-PrototypingLars Gregori
 
IoT, APIs und Microservices - alles unter Node-RED
IoT, APIs und Microservices - alles unter Node-REDIoT, APIs und Microservices - alles unter Node-RED
IoT, APIs und Microservices - alles unter Node-REDLars Gregori
 
Web Bluetooth - Next Generation Bluetooth?
Web Bluetooth - Next Generation Bluetooth?   Web Bluetooth - Next Generation Bluetooth?
Web Bluetooth - Next Generation Bluetooth? Lars Gregori
 
Embedded Rust – Rust on IoT devices
Embedded Rust – Rust on IoT devicesEmbedded Rust – Rust on IoT devices
Embedded Rust – Rust on IoT devicesLars Gregori
 
Embedded Rust on IoT devices
Embedded Rust on IoT devicesEmbedded Rust on IoT devices
Embedded Rust on IoT devicesLars Gregori
 
IoT mit Rust programmieren
IoT mit Rust programmierenIoT mit Rust programmieren
IoT mit Rust programmierenLars Gregori
 
Boards for the IoT-Prototyping
Boards for the IoT-PrototypingBoards for the IoT-Prototyping
Boards for the IoT-PrototypingLars Gregori
 
Groß steuert klein - Wie lässt sich ein Arduino steuern?
Groß steuert klein - Wie lässt sich ein Arduino steuern?Groß steuert klein - Wie lässt sich ein Arduino steuern?
Groß steuert klein - Wie lässt sich ein Arduino steuern?Lars Gregori
 

More from Lars Gregori (20)

BYOM - Bring Your Own Model
BYOM - Bring Your Own ModelBYOM - Bring Your Own Model
BYOM - Bring Your Own Model
 
uTensor - embedded devices and machine learning models
uTensor - embedded devices and machine learning modelsuTensor - embedded devices and machine learning models
uTensor - embedded devices and machine learning models
 
SAP Leonardo Machine Learning
SAP Leonardo Machine LearningSAP Leonardo Machine Learning
SAP Leonardo Machine Learning
 
Minecraft and reinforcement learning
Minecraft and reinforcement learningMinecraft and reinforcement learning
Minecraft and reinforcement learning
 
Machine Learning Models on Mobile Devices
Machine Learning Models on Mobile DevicesMachine Learning Models on Mobile Devices
Machine Learning Models on Mobile Devices
 
Minecraft and Reinforcement Learning
Minecraft and Reinforcement LearningMinecraft and Reinforcement Learning
Minecraft and Reinforcement Learning
 
IoT protocolls - smart washing machine
IoT protocolls - smart washing machineIoT protocolls - smart washing machine
IoT protocolls - smart washing machine
 
[DE] AI und Minecraft
[DE] AI und Minecraft[DE] AI und Minecraft
[DE] AI und Minecraft
 
Minecraft and Reinforcement Learning
Minecraft and Reinforcement LearningMinecraft and Reinforcement Learning
Minecraft and Reinforcement Learning
 
[DE] IoT Protokolle
[DE] IoT Protokolle[DE] IoT Protokolle
[DE] IoT Protokolle
 
Using a trained model on your mobile device
Using a trained model on your mobile deviceUsing a trained model on your mobile device
Using a trained model on your mobile device
 
AI and Minecraft
AI and MinecraftAI and Minecraft
AI and Minecraft
 
[German] Boards für das IoT-Prototyping
[German] Boards für das IoT-Prototyping[German] Boards für das IoT-Prototyping
[German] Boards für das IoT-Prototyping
 
IoT, APIs und Microservices - alles unter Node-RED
IoT, APIs und Microservices - alles unter Node-REDIoT, APIs und Microservices - alles unter Node-RED
IoT, APIs und Microservices - alles unter Node-RED
 
Web Bluetooth - Next Generation Bluetooth?
Web Bluetooth - Next Generation Bluetooth?   Web Bluetooth - Next Generation Bluetooth?
Web Bluetooth - Next Generation Bluetooth?
 
Embedded Rust – Rust on IoT devices
Embedded Rust – Rust on IoT devicesEmbedded Rust – Rust on IoT devices
Embedded Rust – Rust on IoT devices
 
Embedded Rust on IoT devices
Embedded Rust on IoT devicesEmbedded Rust on IoT devices
Embedded Rust on IoT devices
 
IoT mit Rust programmieren
IoT mit Rust programmierenIoT mit Rust programmieren
IoT mit Rust programmieren
 
Boards for the IoT-Prototyping
Boards for the IoT-PrototypingBoards for the IoT-Prototyping
Boards for the IoT-Prototyping
 
Groß steuert klein - Wie lässt sich ein Arduino steuern?
Groß steuert klein - Wie lässt sich ein Arduino steuern?Groß steuert klein - Wie lässt sich ein Arduino steuern?
Groß steuert klein - Wie lässt sich ein Arduino steuern?
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Using a trained model on your mobile device

  • 1. Lars Gregori, SAP Hybris November 25, 2017 Using A Trained Model On Your Mobile Device
  • 2. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 2 CoreML ▪ What is CoreML? Train a model ▪ Train, convert, and add a model to an app. Use a model ▪ Add an available model to an app. Agenda
  • 4. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 4 A trained model is the result of applying a machine learning algorithm to a set of training data. The model makes predictions based on new input data. CoreML https://developer.apple.com/documentation/coreml … integrates trained machine learning models into your app.
  • 6. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 6 0 xor 0 = 0 0 xor 1 = 1 1 xor 0 = 1 1 xor 1 = 0 XOR if a != b
  • 7. INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 7 DEMO
  • 9. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 9 arXiv:1512.00567 - Rethinking the Inception Architecture for Computer Vision Inception v3
  • 10. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 10 Inceptionv3.mlmodel
  • 11. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 11 Inceptionv3.mlmodel
  • 12. INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 12
  • 13. INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 13 DEMO
  • 15. INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 15https://developer.apple.com/documentation/coreml/converting_trained_models_to_core_ml
  • 16. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 16 Style transfer with Torch & CoreML https://blog.prismalabs.ai/diy-prisma-app-with-coreml-6b4994cc99e1
  • 17. INTERNAL© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 17 DEMO
  • 18. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 18 Summary
  • 19. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 19 Tensorflow Mobile Tensorflow Lite Android?
  • 20. PUBLIC© 2017 SAP SE or an SAP affiliate company. All rights reserved. ǀ 20 CoreML
 https://developer.apple.com/documentation/coreml XOR example
 https://amundtveit.com/2017/06/07/keras-deep-learning-with-apples-coremltools-on-ios-11-part-1/ Rethinking the Inception Architecture for Computer Vision.
 https://arxiv.org/abs/1512.00567 Torch7 -> CoreML 
 https://github.com/prisma-ai/torch2coreml Awesome Core ML Models
 https://github.com/likedan/Awesome-CoreML-Models Links
  • 21. Thank you. Lars Gregori, SAP Hybris @choas Hi Lars …
  • 22. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components 
 of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are 
 set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/ or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various 
 risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) 
 in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies. 
 See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices. © 2017 SAP SE or an SAP affiliate company. All rights reserved.