SlideShare a Scribd company logo
1 of 17
Download to read offline
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 HannaLavaConConference
 
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_041022FinTech Belgium
 
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.NetBruno Capuano
 
Design Types
Design TypesDesign Types
Design Types1&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 BoardDecoder Project
 
Agile Mëtteg series session 7
Agile Mëtteg series session 7Agile Mëtteg series session 7
Agile Mëtteg series session 7Agile 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 2019Codemotion
 
Demystifying dot NET reverse engineering - Part1
Demystifying  dot NET reverse engineering - Part1Demystifying  dot NET reverse engineering - Part1
Demystifying dot NET reverse engineering - Part1Soufiane 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.2019Paulo 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
 
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.pdfExpert 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.pdfAdarshMathuri
 
Microsoft Azure News - September 2019
Microsoft Azure News - September 2019Microsoft Azure News - September 2019
Microsoft Azure News - September 2019Daniel 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 HubSouth 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 pipelinesSouth 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 mattersSouth 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 - 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 softwareSouth 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 changerSouth 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 InternetSouth 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

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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
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
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
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...
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

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