SlideShare a Scribd company logo
Constraints of model deployment and production
environments
Davide Boschetto
Deep Learning Specialist - Software R&D at Microtec GmbH
PhD in Image Analysis at IMT Lucca
davide.boschetto@microtec.eu - davide.boschetto@alumni.imtlucca.it
November 15, 2019
Davide Boschetto SFSCon 2019 November 15, 2019 1 / 17
Overview
1 Deep Learning: What and Why
2 Frameworks
State of the Art - 2019
Production
Interoperability
3 Conclusions
Suggestions for R&D Developers
Suggestions for Entrepreneurs
Davide Boschetto SFSCon 2019 November 15, 2019 2 / 17
ML and Deep Learning
Traditional Programming: from data and an algorithm, obtain an
output
Machine Learning perspective: from data and output, obtain an
algorithm / the rules
Davide Boschetto SFSCon 2019 November 15, 2019 3 / 17
AI Impact
Deep learning already revolutionized most computer vision tasks
(from image segmentation to object classification to DLSS)
NLP will be (is) next (BERT, ULMFit, ...)
Neural Architecture Search is growing
Artificial General Intelligence is still (relatively) far ahead of us
Davide Boschetto SFSCon 2019 November 15, 2019 4 / 17
AI key inputs
Without a sufficient amount of data, rules are very hard to find and
learn
Generalization is hard with small or unbalanced datasets
Plenty of different network architectures for each specific problem
Davide Boschetto SFSCon 2019 November 15, 2019 5 / 17
Neural Architectures
Image classification:
Residual Networks
(ResNet/ResNeXt), Squeeze
and Excitation (SEnet),
Inception/Xception networks
Semantic Segmentation
(U-Nets, V-Nets, ...)
Object / Instance Detection:
Mask R-CNN, Faster
R-CNN, ...
Davide Boschetto SFSCon 2019 November 15, 2019 6 / 17
Frameworks
People mostly use Python for data science / deep learning / AI
The most known frameworks today are:
Tensorflow (+ Keras), originating from Google
Pytorch (with Caffe), originating from Facebook
GPUs are practically mandatory
CUDA+cuDNN: monopoly
ROCm support growing
Davide Boschetto SFSCon 2019 November 15, 2019 7 / 17
Frameworks
Pytorch dominates Research environments (2:1 / 3:1 versus
Tensorflow at conferences)
Simpler, great APIs and great performance
Tensorflow still dominates Production (”easier” deployment)
Davide Boschetto SFSCon 2019 November 15, 2019 8 / 17
Production environments and challenges
Big focus on deployment and production environments in 2019:
Pytorch 1.0, Tensorflow Serving / TF Lite, TensorRT, ...
Not everything is compatible, though: i.e., different default padding
convention
Hard to retrofit major releases (TF2 / Keras / Caffe)
Davide Boschetto SFSCon 2019 November 15, 2019 9 / 17
Frameworks and Licensing
The most famous frameworks are open source. Closed source
alternatives exist (Halcon?), but offer a completely different
experience (obviously)
FAANG open-source lots of their code and environments: why?
By open sourcing their products, they stay relevant and innovative.
Given that their business depends on users, this is how they stay at
the front line of innovation
Moreover, openness implies that a community can contribute to
improve a tool, accelerating internal product development at the
same time
Openness, scrutiny, accountability are key factor to build trust around
the whole AI field
Davide Boschetto SFSCon 2019 November 15, 2019 10 / 17
Interoperability
Each framework wants to be the king..
Davide Boschetto SFSCon 2019 November 15, 2019 11 / 17
Interoperability: ONNX
Luckily, middle-ground open framework exists: ONNX - UFF (but...)
Davide Boschetto SFSCon 2019 November 15, 2019 12 / 17
Deployment: Zoo
Still, it’s a mess: Pytorch supports ONNX, Tensorflow does not,
TensorRT wants UFF files, ...
Being able to fully iterate is hard: choosing a framework is inevitable,
if you don’t want to import all the things into your production
environment (another kind of Dependency Hell)
Davide Boschetto SFSCon 2019 November 15, 2019 13 / 17
Suggestions for Developers
Choose a stable release of one framework that can serve your needs of
both research and production environments
Stick with it for a while: all frameworks offer the tools to improve
from traditional computer vision techniques.
All innovations will be available on all frameworks sooner or later (if
not, implement them yourself!): you can’t go wrong with either
Tensorflow or Pytorch
Keep your GitHub and Kaggle profiles updated, stay relevant if you
can
Davide Boschetto SFSCon 2019 November 15, 2019 14 / 17
Suggestion on AI Teams
An AI team in the R&D group is ALWAYS a good idea
A PhD is not necessary, but it’s a nice touch (can be paired by
Seniority)
AI teams require different skills and management techniques than
traditional software engineering teams
Most problems are found in the data collection and model deployment
phases
Davide Boschetto SFSCon 2019 November 15, 2019 15 / 17
Conclusions
Establish an AI focused team / a transversal team of AI specialists,
do it now
Lots of problems you might be struggling with could already be solved
by AI
AI is not the holy grail: make sure that the stakeholders really know
what can be done by AI and, more importantly, what can’t be done
with it
Davide Boschetto SFSCon 2019 November 15, 2019 16 / 17
Thank you!
Any questions?
davide.boschetto@microtec.eu
davide.boschetto@alumni.imtlucca.it
Davide Boschetto SFSCon 2019 November 15, 2019 17 / 17

More Related Content

Similar to SFScon19 - Davide Boschetto - Constraints of model deployment and production environments

DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
Bosnia Agile
 
Intelligent Microcontent: At the Point of Content Convergence | Rob Hanna
Intelligent Microcontent: At the Point of Content Convergence | Rob HannaIntelligent Microcontent: At the Point of Content Convergence | Rob Hanna
Intelligent Microcontent: At the Point of Content Convergence | Rob Hanna
LavaConConference
 
DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022
DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022
DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022
FinTech Belgium
 
SFScon 2020 - Reto Schneider - Outsourcing to Open Source
SFScon 2020 - Reto Schneider - Outsourcing to Open SourceSFScon 2020 - Reto Schneider - Outsourcing to Open Source
SFScon 2020 - Reto Schneider - Outsourcing to Open Source
South Tyrol Free Software Conference
 
2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net
2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net
2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net
Bruno Capuano
 
Design Types
Design TypesDesign Types
Design Types
1&1
 
DECODER Project Presentation to the Advisory Board
DECODER Project Presentation to the Advisory BoardDECODER Project Presentation to the Advisory Board
DECODER Project Presentation to the Advisory Board
Decoder Project
 
Cs207 1
Cs207 1Cs207 1
Agile Mëtteg series session 7
Agile Mëtteg series session 7Agile Mëtteg series session 7
Agile Mëtteg series session 7
Agile Partner S.A.
 
Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...
Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...
Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...
Fasten Project
 
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Codemotion
 
Demystifying dot NET reverse engineering - Part1
Demystifying  dot NET reverse engineering - Part1Demystifying  dot NET reverse engineering - Part1
Demystifying dot NET reverse engineering - Part1
Soufiane Tahiri
 
Tec hin porto - productize your infrastructures - jun.2019
Tec hin porto - productize your infrastructures - jun.2019Tec hin porto - productize your infrastructures - jun.2019
Tec hin porto - productize your infrastructures - jun.2019
Paulo Costa
 
Symphony Software Foundation Current State and Roadmap
Symphony Software Foundation Current State and Roadmap Symphony Software Foundation Current State and Roadmap
Symphony Software Foundation Current State and Roadmap
Symphony Software Foundation
 
Cs207 1
Cs207 1Cs207 1
Exploring the Benefits of Draftbit and Flutterflow for Businesses.pdf
Exploring the Benefits of Draftbit and Flutterflow for Businesses.pdfExploring the Benefits of Draftbit and Flutterflow for Businesses.pdf
Exploring the Benefits of Draftbit and Flutterflow for Businesses.pdf
Expert App Devs
 
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
ZeroTurnaround
 
Portland Splunk User Group May 2020
Portland Splunk User Group May 2020 Portland Splunk User Group May 2020
Portland Splunk User Group May 2020
Amanda Richardson
 
INTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdfINTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdf
AdarshMathuri
 
Microsoft Azure News - September 2019
Microsoft Azure News - September 2019Microsoft Azure News - September 2019
Microsoft Azure News - September 2019
Daniel Toomey
 

Similar to SFScon19 - Davide Boschetto - Constraints of model deployment and production environments (20)

DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
DevOps Transformation in Microsoft – Case Study by Ognjen Bajic and Ana Roje ...
 
Intelligent Microcontent: At the Point of Content Convergence | Rob Hanna
Intelligent Microcontent: At the Point of Content Convergence | Rob HannaIntelligent Microcontent: At the Point of Content Convergence | Rob Hanna
Intelligent Microcontent: At the Point of Content Convergence | Rob Hanna
 
DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022
DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022
DFS22_EU Pitch Battle_Xavier Babaud-Dulac_Karbonalpha_041022
 
SFScon 2020 - Reto Schneider - Outsourcing to Open Source
SFScon 2020 - Reto Schneider - Outsourcing to Open SourceSFScon 2020 - Reto Schneider - Outsourcing to Open Source
SFScon 2020 - Reto Schneider - Outsourcing to Open Source
 
2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net
2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net
2019 05 23 Visual Studio 2019 Launch at mississauga - Machine Learning.Net
 
Design Types
Design TypesDesign Types
Design Types
 
DECODER Project Presentation to the Advisory Board
DECODER Project Presentation to the Advisory BoardDECODER Project Presentation to the Advisory Board
DECODER Project Presentation to the Advisory Board
 
Cs207 1
Cs207 1Cs207 1
Cs207 1
 
Agile Mëtteg series session 7
Agile Mëtteg series session 7Agile Mëtteg series session 7
Agile Mëtteg series session 7
 
Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...
Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...
Fasten and Quartermaster presentation at FOSSCOMM, October 2019 in Lamia, Gre...
 
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
 
Demystifying dot NET reverse engineering - Part1
Demystifying  dot NET reverse engineering - Part1Demystifying  dot NET reverse engineering - Part1
Demystifying dot NET reverse engineering - Part1
 
Tec hin porto - productize your infrastructures - jun.2019
Tec hin porto - productize your infrastructures - jun.2019Tec hin porto - productize your infrastructures - jun.2019
Tec hin porto - productize your infrastructures - jun.2019
 
Symphony Software Foundation Current State and Roadmap
Symphony Software Foundation Current State and Roadmap Symphony Software Foundation Current State and Roadmap
Symphony Software Foundation Current State and Roadmap
 
Cs207 1
Cs207 1Cs207 1
Cs207 1
 
Exploring the Benefits of Draftbit and Flutterflow for Businesses.pdf
Exploring the Benefits of Draftbit and Flutterflow for Businesses.pdfExploring the Benefits of Draftbit and Flutterflow for Businesses.pdf
Exploring the Benefits of Draftbit and Flutterflow for Businesses.pdf
 
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
Top Java IDE keyboard shortcuts for Eclipse, IntelliJIDEA, NetBeans (report p...
 
Portland Splunk User Group May 2020
Portland Splunk User Group May 2020 Portland Splunk User Group May 2020
Portland Splunk User Group May 2020
 
INTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdfINTRODUCTION TO FLUTTER.pdf
INTRODUCTION TO FLUTTER.pdf
 
Microsoft Azure News - September 2019
Microsoft Azure News - September 2019Microsoft Azure News - September 2019
Microsoft Azure News - September 2019
 

More from South Tyrol Free Software Conference

SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
South Tyrol Free Software Conference
 
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
South Tyrol Free Software Conference
 
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data HubSFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
South Tyrol Free Software Conference
 
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
South Tyrol Free Software Conference
 
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
South Tyrol Free Software Conference
 
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
South Tyrol Free Software Conference
 
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelinesSFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
South Tyrol Free Software Conference
 
SFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open ScienceSFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open Science
South Tyrol Free Software Conference
 
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure mattersSFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
South Tyrol Free Software Conference
 
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portalSFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
South Tyrol Free Software Conference
 
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
South Tyrol Free Software Conference
 
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke MeranSFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
South Tyrol Free Software Conference
 
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
South Tyrol Free Software Conference
 
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free softwareSFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
South Tyrol Free Software Conference
 
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
South Tyrol Free Software Conference
 
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changerSFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
South Tyrol Free Software Conference
 
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
South Tyrol Free Software Conference
 
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation InternetSFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
South Tyrol Free Software Conference
 
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis MapsSFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
South Tyrol Free Software Conference
 
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
South Tyrol Free Software Conference
 

More from South Tyrol Free Software Conference (20)

SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
 
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
 
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data HubSFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
 
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
 
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
 
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
 
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelinesSFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
 
SFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open ScienceSFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open Science
 
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure mattersSFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
 
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portalSFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
 
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
 
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke MeranSFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
 
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
 
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free softwareSFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
 
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
 
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changerSFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
 
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
 
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation InternetSFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
 
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis MapsSFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
 
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
 

Recently uploaded

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
Sease
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 

Recently uploaded (20)

Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 

SFScon19 - Davide Boschetto - Constraints of model deployment and production environments

  • 1. Constraints of model deployment and production environments Davide Boschetto Deep Learning Specialist - Software R&D at Microtec GmbH PhD in Image Analysis at IMT Lucca davide.boschetto@microtec.eu - davide.boschetto@alumni.imtlucca.it November 15, 2019 Davide Boschetto SFSCon 2019 November 15, 2019 1 / 17
  • 2. Overview 1 Deep Learning: What and Why 2 Frameworks State of the Art - 2019 Production Interoperability 3 Conclusions Suggestions for R&D Developers Suggestions for Entrepreneurs Davide Boschetto SFSCon 2019 November 15, 2019 2 / 17
  • 3. ML and Deep Learning Traditional Programming: from data and an algorithm, obtain an output Machine Learning perspective: from data and output, obtain an algorithm / the rules Davide Boschetto SFSCon 2019 November 15, 2019 3 / 17
  • 4. AI Impact Deep learning already revolutionized most computer vision tasks (from image segmentation to object classification to DLSS) NLP will be (is) next (BERT, ULMFit, ...) Neural Architecture Search is growing Artificial General Intelligence is still (relatively) far ahead of us Davide Boschetto SFSCon 2019 November 15, 2019 4 / 17
  • 5. AI key inputs Without a sufficient amount of data, rules are very hard to find and learn Generalization is hard with small or unbalanced datasets Plenty of different network architectures for each specific problem Davide Boschetto SFSCon 2019 November 15, 2019 5 / 17
  • 6. Neural Architectures Image classification: Residual Networks (ResNet/ResNeXt), Squeeze and Excitation (SEnet), Inception/Xception networks Semantic Segmentation (U-Nets, V-Nets, ...) Object / Instance Detection: Mask R-CNN, Faster R-CNN, ... Davide Boschetto SFSCon 2019 November 15, 2019 6 / 17
  • 7. Frameworks People mostly use Python for data science / deep learning / AI The most known frameworks today are: Tensorflow (+ Keras), originating from Google Pytorch (with Caffe), originating from Facebook GPUs are practically mandatory CUDA+cuDNN: monopoly ROCm support growing Davide Boschetto SFSCon 2019 November 15, 2019 7 / 17
  • 8. Frameworks Pytorch dominates Research environments (2:1 / 3:1 versus Tensorflow at conferences) Simpler, great APIs and great performance Tensorflow still dominates Production (”easier” deployment) Davide Boschetto SFSCon 2019 November 15, 2019 8 / 17
  • 9. Production environments and challenges Big focus on deployment and production environments in 2019: Pytorch 1.0, Tensorflow Serving / TF Lite, TensorRT, ... Not everything is compatible, though: i.e., different default padding convention Hard to retrofit major releases (TF2 / Keras / Caffe) Davide Boschetto SFSCon 2019 November 15, 2019 9 / 17
  • 10. Frameworks and Licensing The most famous frameworks are open source. Closed source alternatives exist (Halcon?), but offer a completely different experience (obviously) FAANG open-source lots of their code and environments: why? By open sourcing their products, they stay relevant and innovative. Given that their business depends on users, this is how they stay at the front line of innovation Moreover, openness implies that a community can contribute to improve a tool, accelerating internal product development at the same time Openness, scrutiny, accountability are key factor to build trust around the whole AI field Davide Boschetto SFSCon 2019 November 15, 2019 10 / 17
  • 11. Interoperability Each framework wants to be the king.. Davide Boschetto SFSCon 2019 November 15, 2019 11 / 17
  • 12. Interoperability: ONNX Luckily, middle-ground open framework exists: ONNX - UFF (but...) Davide Boschetto SFSCon 2019 November 15, 2019 12 / 17
  • 13. Deployment: Zoo Still, it’s a mess: Pytorch supports ONNX, Tensorflow does not, TensorRT wants UFF files, ... Being able to fully iterate is hard: choosing a framework is inevitable, if you don’t want to import all the things into your production environment (another kind of Dependency Hell) Davide Boschetto SFSCon 2019 November 15, 2019 13 / 17
  • 14. Suggestions for Developers Choose a stable release of one framework that can serve your needs of both research and production environments Stick with it for a while: all frameworks offer the tools to improve from traditional computer vision techniques. All innovations will be available on all frameworks sooner or later (if not, implement them yourself!): you can’t go wrong with either Tensorflow or Pytorch Keep your GitHub and Kaggle profiles updated, stay relevant if you can Davide Boschetto SFSCon 2019 November 15, 2019 14 / 17
  • 15. Suggestion on AI Teams An AI team in the R&D group is ALWAYS a good idea A PhD is not necessary, but it’s a nice touch (can be paired by Seniority) AI teams require different skills and management techniques than traditional software engineering teams Most problems are found in the data collection and model deployment phases Davide Boschetto SFSCon 2019 November 15, 2019 15 / 17
  • 16. Conclusions Establish an AI focused team / a transversal team of AI specialists, do it now Lots of problems you might be struggling with could already be solved by AI AI is not the holy grail: make sure that the stakeholders really know what can be done by AI and, more importantly, what can’t be done with it Davide Boschetto SFSCon 2019 November 15, 2019 16 / 17