SlideShare a Scribd company logo
Full Stack Deep Learning - UC Berkeley Spring 2021 - Sergey Karayev, Josh Tobin, Pieter Abbeel
Lab 1: Introduction and Setup
Full Stack Deep Learning - UC Berkeley Spring 2021
Labs
• We will incrementally develop a complete deep learning codebase for
understanding the content of handwritten paragraphs.

• Best framework: PyTorch + PyTorch-Lightning

• Best methods: CNNs + RNNs + Transformers

• Best experiment management: Weights & Biases

• Best way to deploy on the web: Docker + AWS Lambda

• Best way to monitor the model in production
2
Full Stack Deep Learning - UC Berkeley Spring 2021
Outline of the labs
3
Lab 1: Introduction
• Lab 1: Introduction. Formulate problem, structure codebase, train an MLP on MNIST data.
• Lab 2: CNNs. Introduce EMNIST, generate synthetic handwritten lines, and train CNNs.

• Lab 3: RNNs. Using CNN + LSTM with CTC loss for line text recognition.

• Lab 4: Transformers. Using Transformers for line text recognition.

• Lab 5: Experiment Management. Real handwriting data, Weights & Biases, and hyperparameter sweeps.

• Lab 6: Line Detection. Train and evaluate line detection model (or paragraph recognition).

• Lab 7: Data Management. Label our own handwriting data and properly store it.

• Lab 8: Continuous Integration. Add continuous linting and testing of our code.

• Lab 9: Deployment. Run as a REST API locally, then in Docker, then put in production using AWS Lambda.

• Lab 10: Monitoring. Set up monitoring that alerts us when the incoming data distribution changes.
Full Stack Deep Learning - UC Berkeley Spring 2021
• Lab 1: Introduction. Formulate problem, structure codebase, train an MLP on MNIST data.
• Lab 2: CNNs. Introduce EMNIST, generate synthetic handwritten lines, and train CNNs.

• Lab 3: RNNs. Using CNN + LSTM with CTC loss for line text recognition.

• Lab 4: Transformers. Using Transformers for line text recognition.

• Lab 5: Experiment Management. Real handwriting data, Weights & Biases, and hyperparameter sweeps.

• Lab 6: Line Detection. Train and evaluate line detection model (or paragraph recognition).

• Lab 7: Data Management. Label our own handwriting data and properly store it.

• Lab 8: Continuous Integration. Add continuous linting and testing of our code.

• Lab 9: Deployment. Run as a REST API locally, then in Docker, then put in production using AWS Lambda.

• Lab 10: Monitoring. Set up monitoring that alerts us when the incoming data distribution changes.
Outline of the labs
4
Full Stack Deep Learning - UC Berkeley Spring 2021
Lab 1 Goals
• Understand the problem and path to solution

• Set up our computing environment

• Review codebase and train on MNIST
5
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
Lab 1 Goals
• Understand the problem and path to solution
• Set up our computing environment

• Review codebase and train on MNIST
6
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
7
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Full Stack Deep Learning - UC Berkeley Spring 2021
8
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
9
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
9
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
10
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Decode image
10
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
11
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Decode image
LineDetector
11
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
12
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Decode image
LineDetector LineTextRecognizer
Full stack deep learning is a
12
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
13
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request Decode image Encode response
{‘pred’: ‘Full Stack
Deep Learning’…,
‘conf’: 0.01}
LineDetector LineTextRecognizer
Full stack deep learning is a
13
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
14
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request Decode image Encode response
{‘pred’: ‘Full Stack
Deep Learning’…,
‘conf’: 0.01}
LineDetector LineTextRecognizer
Full stack deep learning is a
Dataset
• Text pages
• Line labels
• Line images
• Decoded text
14
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
15
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request Decode image Encode response
{‘pred’: ‘Full Stack
Deep Learning’…,
‘conf’: 0.01}
LineDetector LineTextRecognizer
Full stack deep learning is a
Dataset
• Text pages
• Line labels
• Line images
• Decoded text
Training code
15
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
16
Model training
Web Backend
Submit
Text Recognizer Pro
Full stack deep
learning is a
weekend program
for people who
already have some
deep learning
experience but
want to learn about
the rest of the
“stack” …
Compiled Prediction Model
‘POST' request Decode image Encode response
{‘pred’: ‘Full Stack
Deep Learning’…,
‘conf’: 0.01}
LineDetector LineTextRecognizer
Full stack deep learning is a
Dataset
Training code
Model weights
• Text pages
• Line labels
• Line images
• Decoded text
*.h5
16
{‘image’: b'%xe3L
xa6r<x1bxdcx0c
x11:xfbxd9xeb
…}
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
17
Full Stack Deep Learning - UC Berkeley Spring 2021
Lab 1 Goals
• Understand the problem and path to solution

• Set up our computing environment
• Review codebase and train on MNIST
18
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
Set up computing environment
• Readme

• Colab setup video
19
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
20
Full Stack Deep Learning - UC Berkeley Spring 2021
Lab 1 Goals
• Understand the problem and path to solution

• Set up our computing environment

• Review codebase and train on MNIST
21
Lab 1: Introduction
Full Stack Deep Learning - UC Berkeley Spring 2021
Review Codebase and Train on MNIST
• Readme

• Video walkthrough
22
Full Stack Deep Learning - UC Berkeley Spring 2021
Questions?
23

More Related Content

What's hot (20)

Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)
Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)
Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)
Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)
Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)
Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)
Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep LearningTroubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
Sergey Karayev
 
Transfer Learning and Fine-tuning Deep Neural Networks
 Transfer Learning and Fine-tuning Deep Neural Networks Transfer Learning and Fine-tuning Deep Neural Networks
Transfer Learning and Fine-tuning Deep Neural Networks
PyData
 
Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...
Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...
Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...
Sujit Pal
 
Convolutional neural networks for image classification — evidence from Kaggle...
Convolutional neural networks for image classification — evidence from Kaggle...Convolutional neural networks for image classification — evidence from Kaggle...
Convolutional neural networks for image classification — evidence from Kaggle...
Dmytro Mishkin
 
Deep Learning in Computer Vision
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer Vision
Sungjoon Choi
 
Devil in the Details: Analysing the Performance of ConvNet Features
Devil in the Details: Analysing the Performance of ConvNet FeaturesDevil in the Details: Analysing the Performance of ConvNet Features
Devil in the Details: Analysing the Performance of ConvNet Features
Ken Chatfield
 
Architecture Design for Deep Neural Networks I
Architecture Design for Deep Neural Networks IArchitecture Design for Deep Neural Networks I
Architecture Design for Deep Neural Networks I
Wanjin Yu
 
Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...
Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...
Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...
InVID Project
 
do adversarially robust image net models transfer better
do adversarially robust image net models transfer betterdo adversarially robust image net models transfer better
do adversarially robust image net models transfer better
LEE HOSEONG
 
Video Object Segmentation - Laura Leal-Taixé - UPC Barcelona 2018
Video Object Segmentation - Laura Leal-Taixé - UPC Barcelona 2018Video Object Segmentation - Laura Leal-Taixé - UPC Barcelona 2018
Video Object Segmentation - Laura Leal-Taixé - UPC Barcelona 2018
Universitat Politècnica de Catalunya
 
"Revisiting self supervised visual representation learning" Paper Review
"Revisiting self supervised visual representation learning" Paper Review"Revisiting self supervised visual representation learning" Paper Review
"Revisiting self supervised visual representation learning" Paper Review
LEE HOSEONG
 
Transfer Learning (D2L4 Insight@DCU Machine Learning Workshop 2017)
Transfer Learning (D2L4 Insight@DCU Machine Learning Workshop 2017)Transfer Learning (D2L4 Insight@DCU Machine Learning Workshop 2017)
Transfer Learning (D2L4 Insight@DCU Machine Learning Workshop 2017)
Universitat Politècnica de Catalunya
 
Deep Learning through Examples
Deep Learning through ExamplesDeep Learning through Examples
Deep Learning through Examples
Sri Ambati
 
2019 cvpr paper_overview
2019 cvpr paper_overview2019 cvpr paper_overview
2019 cvpr paper_overview
LEE HOSEONG
 
Deep learning with keras
Deep learning with kerasDeep learning with keras
Deep learning with keras
MOHITKUMAR1379
 
[246]reasoning, attention and memory toward differentiable reasoning machines
[246]reasoning, attention and memory   toward differentiable reasoning machines[246]reasoning, attention and memory   toward differentiable reasoning machines
[246]reasoning, attention and memory toward differentiable reasoning machines
NAVER D2
 
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Lecture 6: Infrastructure & Tooling (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)
Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)
Lecture 10: ML Testing & Explainability (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)
Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)
Lecture 9: AI Ethics (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)
Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)
Lecture 5: ML Projects (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep LearningTroubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
Sergey Karayev
 
Transfer Learning and Fine-tuning Deep Neural Networks
 Transfer Learning and Fine-tuning Deep Neural Networks Transfer Learning and Fine-tuning Deep Neural Networks
Transfer Learning and Fine-tuning Deep Neural Networks
PyData
 
Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...
Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...
Embed, Encode, Attend, Predict – applying the 4 step NLP recipe for text clas...
Sujit Pal
 
Convolutional neural networks for image classification — evidence from Kaggle...
Convolutional neural networks for image classification — evidence from Kaggle...Convolutional neural networks for image classification — evidence from Kaggle...
Convolutional neural networks for image classification — evidence from Kaggle...
Dmytro Mishkin
 
Deep Learning in Computer Vision
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer Vision
Sungjoon Choi
 
Devil in the Details: Analysing the Performance of ConvNet Features
Devil in the Details: Analysing the Performance of ConvNet FeaturesDevil in the Details: Analysing the Performance of ConvNet Features
Devil in the Details: Analysing the Performance of ConvNet Features
Ken Chatfield
 
Architecture Design for Deep Neural Networks I
Architecture Design for Deep Neural Networks IArchitecture Design for Deep Neural Networks I
Architecture Design for Deep Neural Networks I
Wanjin Yu
 
Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...
Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...
Comparison of Fine-tuning and Extension Strategies for Deep Convolutional Neu...
InVID Project
 
do adversarially robust image net models transfer better
do adversarially robust image net models transfer betterdo adversarially robust image net models transfer better
do adversarially robust image net models transfer better
LEE HOSEONG
 
"Revisiting self supervised visual representation learning" Paper Review
"Revisiting self supervised visual representation learning" Paper Review"Revisiting self supervised visual representation learning" Paper Review
"Revisiting self supervised visual representation learning" Paper Review
LEE HOSEONG
 
Deep Learning through Examples
Deep Learning through ExamplesDeep Learning through Examples
Deep Learning through Examples
Sri Ambati
 
2019 cvpr paper_overview
2019 cvpr paper_overview2019 cvpr paper_overview
2019 cvpr paper_overview
LEE HOSEONG
 
Deep learning with keras
Deep learning with kerasDeep learning with keras
Deep learning with keras
MOHITKUMAR1379
 
[246]reasoning, attention and memory toward differentiable reasoning machines
[246]reasoning, attention and memory   toward differentiable reasoning machines[246]reasoning, attention and memory   toward differentiable reasoning machines
[246]reasoning, attention and memory toward differentiable reasoning machines
NAVER D2
 

Similar to Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021 (20)

Computer Vision Landscape : Present and Future
Computer Vision Landscape : Present and FutureComputer Vision Landscape : Present and Future
Computer Vision Landscape : Present and Future
Sanghamitra Deb
 
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache SparkBuild, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Databricks
 
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
DL4J at Workday Meetup
DL4J at Workday MeetupDL4J at Workday Meetup
DL4J at Workday Meetup
David Kale
 
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim HunterDeep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Databricks
 
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache SparkBuild, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Databricks
 
Build, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache SparkBuild, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache Spark
Databricks
 
Object Detection with Transformers
Object Detection with TransformersObject Detection with Transformers
Object Detection with Transformers
Databricks
 
KERAS Python Tutorial
KERAS Python TutorialKERAS Python Tutorial
KERAS Python Tutorial
MahmutKAMALAK
 
Overview of the TREC 2019 Deep Learning Track
Overview of the TREC 2019 Deep Learning TrackOverview of the TREC 2019 Deep Learning Track
Overview of the TREC 2019 Deep Learning Track
Nick Craswell
 
Image_Caption_Generator_Presentation_With_Deployment.pptx
Image_Caption_Generator_Presentation_With_Deployment.pptxImage_Caption_Generator_Presentation_With_Deployment.pptx
Image_Caption_Generator_Presentation_With_Deployment.pptx
DrMarwaElsherif
 
Spark DataFrames and ML Pipelines
Spark DataFrames and ML PipelinesSpark DataFrames and ML Pipelines
Spark DataFrames and ML Pipelines
Databricks
 
Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...
Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...
Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...
Spark Summit
 
Combining Machine Learning frameworks with Apache Spark
Combining Machine Learning frameworks with Apache SparkCombining Machine Learning frameworks with Apache Spark
Combining Machine Learning frameworks with Apache Spark
DataWorks Summit/Hadoop Summit
 
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Nilesh Panchal
 
Data Science Accelerator Program
Data Science Accelerator ProgramData Science Accelerator Program
Data Science Accelerator Program
GoDataDriven
 
Build, Scale, and Deploy Deep Learning Pipelines with Ease
Build, Scale, and Deploy Deep Learning Pipelines with EaseBuild, Scale, and Deploy Deep Learning Pipelines with Ease
Build, Scale, and Deploy Deep Learning Pipelines with Ease
Databricks
 
Key projects in AI, ML and Generative AI
Key projects in AI, ML and Generative AIKey projects in AI, ML and Generative AI
Key projects in AI, ML and Generative AI
Vijayananda Mohire
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal
 
Combining Machine Learning Frameworks with Apache Spark
Combining Machine Learning Frameworks with Apache SparkCombining Machine Learning Frameworks with Apache Spark
Combining Machine Learning Frameworks with Apache Spark
Databricks
 
Computer Vision Landscape : Present and Future
Computer Vision Landscape : Present and FutureComputer Vision Landscape : Present and Future
Computer Vision Landscape : Present and Future
Sanghamitra Deb
 
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache SparkBuild, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Databricks
 
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Lecture 11: ML Deployment & Monitoring (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
DL4J at Workday Meetup
DL4J at Workday MeetupDL4J at Workday Meetup
DL4J at Workday Meetup
David Kale
 
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim HunterDeep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Deep-Dive into Deep Learning Pipelines with Sue Ann Hong and Tim Hunter
Databricks
 
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache SparkBuild, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines Using Apache Spark
Databricks
 
Build, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache SparkBuild, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache Spark
Build, Scale, and Deploy Deep Learning Pipelines with Ease Using Apache Spark
Databricks
 
Object Detection with Transformers
Object Detection with TransformersObject Detection with Transformers
Object Detection with Transformers
Databricks
 
KERAS Python Tutorial
KERAS Python TutorialKERAS Python Tutorial
KERAS Python Tutorial
MahmutKAMALAK
 
Overview of the TREC 2019 Deep Learning Track
Overview of the TREC 2019 Deep Learning TrackOverview of the TREC 2019 Deep Learning Track
Overview of the TREC 2019 Deep Learning Track
Nick Craswell
 
Image_Caption_Generator_Presentation_With_Deployment.pptx
Image_Caption_Generator_Presentation_With_Deployment.pptxImage_Caption_Generator_Presentation_With_Deployment.pptx
Image_Caption_Generator_Presentation_With_Deployment.pptx
DrMarwaElsherif
 
Spark DataFrames and ML Pipelines
Spark DataFrames and ML PipelinesSpark DataFrames and ML Pipelines
Spark DataFrames and ML Pipelines
Databricks
 
Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...
Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...
Building, Debugging, and Tuning Spark Machine Leaning Pipelines-(Joseph Bradl...
Spark Summit
 
Combining Machine Learning frameworks with Apache Spark
Combining Machine Learning frameworks with Apache SparkCombining Machine Learning frameworks with Apache Spark
Combining Machine Learning frameworks with Apache Spark
DataWorks Summit/Hadoop Summit
 
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Ruby on-rails-101-presentation-slides-for-a-five-day-introductory-course-1194...
Nilesh Panchal
 
Data Science Accelerator Program
Data Science Accelerator ProgramData Science Accelerator Program
Data Science Accelerator Program
GoDataDriven
 
Build, Scale, and Deploy Deep Learning Pipelines with Ease
Build, Scale, and Deploy Deep Learning Pipelines with EaseBuild, Scale, and Deploy Deep Learning Pipelines with Ease
Build, Scale, and Deploy Deep Learning Pipelines with Ease
Databricks
 
Key projects in AI, ML and Generative AI
Key projects in AI, ML and Generative AIKey projects in AI, ML and Generative AI
Key projects in AI, ML and Generative AI
Vijayananda Mohire
 
Artificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal
 
Combining Machine Learning Frameworks with Apache Spark
Combining Machine Learning Frameworks with Apache SparkCombining Machine Learning Frameworks with Apache Spark
Combining Machine Learning Frameworks with Apache Spark
Databricks
 

More from Sergey Karayev (9)

Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)
Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)
Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Data Management - Full Stack Deep Learning
Data Management - Full Stack Deep LearningData Management - Full Stack Deep Learning
Data Management - Full Stack Deep Learning
Sergey Karayev
 
Testing and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep LearningTesting and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep Learning
Sergey Karayev
 
Machine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep LearningMachine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep Learning
Sergey Karayev
 
Setting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep LearningSetting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep Learning
Sergey Karayev
 
Research Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep LearningResearch Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep Learning
Sergey Karayev
 
Infrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep LearningInfrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep Learning
Sergey Karayev
 
AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019
Sergey Karayev
 
Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)
Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)
Lecture 13: ML Teams (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Lecture 12: Research Directions (Full Stack Deep Learning - Spring 2021)
Sergey Karayev
 
Data Management - Full Stack Deep Learning
Data Management - Full Stack Deep LearningData Management - Full Stack Deep Learning
Data Management - Full Stack Deep Learning
Sergey Karayev
 
Testing and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep LearningTesting and Deployment - Full Stack Deep Learning
Testing and Deployment - Full Stack Deep Learning
Sergey Karayev
 
Machine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep LearningMachine Learning Teams - Full Stack Deep Learning
Machine Learning Teams - Full Stack Deep Learning
Sergey Karayev
 
Setting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep LearningSetting up Machine Learning Projects - Full Stack Deep Learning
Setting up Machine Learning Projects - Full Stack Deep Learning
Sergey Karayev
 
Research Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep LearningResearch Directions - Full Stack Deep Learning
Research Directions - Full Stack Deep Learning
Sergey Karayev
 
Infrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep LearningInfrastructure and Tooling - Full Stack Deep Learning
Infrastructure and Tooling - Full Stack Deep Learning
Sergey Karayev
 
AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019AI Masterclass at ASU GSV 2019
AI Masterclass at ASU GSV 2019
Sergey Karayev
 

Recently uploaded (20)

What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!
cryptouniversityoffi
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk TechniciansOffshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
john823664
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
Security Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk CertificateSecurity Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk Certificate
VICTOR MAESTRE RAMIREZ
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Introducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and ARIntroducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and AR
Safe Software
 
Fully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and ControlFully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and Control
ShapeBlue
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
The 2025 Digital Adoption Blueprint.pptx
The 2025 Digital Adoption Blueprint.pptxThe 2025 Digital Adoption Blueprint.pptx
The 2025 Digital Adoption Blueprint.pptx
aptyai
 
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Eugene Fidelin
 
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
James Anderson
 
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCPMCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
Sambhav Kothari
 
Agentic AI - The New Era of Intelligence
Agentic AI - The New Era of IntelligenceAgentic AI - The New Era of Intelligence
Agentic AI - The New Era of Intelligence
Muzammil Shah
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Content and eLearning Standards: Finding the Best Fit for Your-Training
Content and eLearning Standards: Finding the Best Fit for Your-TrainingContent and eLearning Standards: Finding the Best Fit for Your-Training
Content and eLearning Standards: Finding the Best Fit for Your-Training
Rustici Software
 
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptxECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
Jasper Oosterveld
 
John Carmack’s Slides From His Upper Bound 2025 Talk
John Carmack’s Slides From His Upper Bound 2025 TalkJohn Carmack’s Slides From His Upper Bound 2025 Talk
John Carmack’s Slides From His Upper Bound 2025 Talk
Razin Mustafiz
 
What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!
cryptouniversityoffi
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk TechniciansOffshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
john823664
 
New Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDBNew Ways to Reduce Database Costs with ScyllaDB
New Ways to Reduce Database Costs with ScyllaDB
ScyllaDB
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
Security Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk CertificateSecurity Operations and the Defense Analyst - Splunk Certificate
Security Operations and the Defense Analyst - Splunk Certificate
VICTOR MAESTRE RAMIREZ
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Introducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and ARIntroducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and AR
Safe Software
 
Fully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and ControlFully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and Control
ShapeBlue
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
The 2025 Digital Adoption Blueprint.pptx
The 2025 Digital Adoption Blueprint.pptxThe 2025 Digital Adoption Blueprint.pptx
The 2025 Digital Adoption Blueprint.pptx
aptyai
 
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Eugene Fidelin
 
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...
James Anderson
 
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCPMCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
MCP Dev Summit - Pragmatic Scaling of Enterprise GenAI with MCP
Sambhav Kothari
 
Agentic AI - The New Era of Intelligence
Agentic AI - The New Era of IntelligenceAgentic AI - The New Era of Intelligence
Agentic AI - The New Era of Intelligence
Muzammil Shah
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Content and eLearning Standards: Finding the Best Fit for Your-Training
Content and eLearning Standards: Finding the Best Fit for Your-TrainingContent and eLearning Standards: Finding the Best Fit for Your-Training
Content and eLearning Standards: Finding the Best Fit for Your-Training
Rustici Software
 
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptxECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
Jasper Oosterveld
 
John Carmack’s Slides From His Upper Bound 2025 Talk
John Carmack’s Slides From His Upper Bound 2025 TalkJohn Carmack’s Slides From His Upper Bound 2025 Talk
John Carmack’s Slides From His Upper Bound 2025 Talk
Razin Mustafiz
 

Lab 1: Intro and Setup - Full Stack Deep Learning - Spring 2021

  • 1. Full Stack Deep Learning - UC Berkeley Spring 2021 - Sergey Karayev, Josh Tobin, Pieter Abbeel Lab 1: Introduction and Setup
  • 2. Full Stack Deep Learning - UC Berkeley Spring 2021 Labs • We will incrementally develop a complete deep learning codebase for understanding the content of handwritten paragraphs. • Best framework: PyTorch + PyTorch-Lightning • Best methods: CNNs + RNNs + Transformers • Best experiment management: Weights & Biases • Best way to deploy on the web: Docker + AWS Lambda • Best way to monitor the model in production 2
  • 3. Full Stack Deep Learning - UC Berkeley Spring 2021 Outline of the labs 3 Lab 1: Introduction • Lab 1: Introduction. Formulate problem, structure codebase, train an MLP on MNIST data. • Lab 2: CNNs. Introduce EMNIST, generate synthetic handwritten lines, and train CNNs. • Lab 3: RNNs. Using CNN + LSTM with CTC loss for line text recognition. • Lab 4: Transformers. Using Transformers for line text recognition. • Lab 5: Experiment Management. Real handwriting data, Weights & Biases, and hyperparameter sweeps. • Lab 6: Line Detection. Train and evaluate line detection model (or paragraph recognition). • Lab 7: Data Management. Label our own handwriting data and properly store it. • Lab 8: Continuous Integration. Add continuous linting and testing of our code. • Lab 9: Deployment. Run as a REST API locally, then in Docker, then put in production using AWS Lambda. • Lab 10: Monitoring. Set up monitoring that alerts us when the incoming data distribution changes.
  • 4. Full Stack Deep Learning - UC Berkeley Spring 2021 • Lab 1: Introduction. Formulate problem, structure codebase, train an MLP on MNIST data. • Lab 2: CNNs. Introduce EMNIST, generate synthetic handwritten lines, and train CNNs. • Lab 3: RNNs. Using CNN + LSTM with CTC loss for line text recognition. • Lab 4: Transformers. Using Transformers for line text recognition. • Lab 5: Experiment Management. Real handwriting data, Weights & Biases, and hyperparameter sweeps. • Lab 6: Line Detection. Train and evaluate line detection model (or paragraph recognition). • Lab 7: Data Management. Label our own handwriting data and properly store it. • Lab 8: Continuous Integration. Add continuous linting and testing of our code. • Lab 9: Deployment. Run as a REST API locally, then in Docker, then put in production using AWS Lambda. • Lab 10: Monitoring. Set up monitoring that alerts us when the incoming data distribution changes. Outline of the labs 4
  • 5. Full Stack Deep Learning - UC Berkeley Spring 2021 Lab 1 Goals • Understand the problem and path to solution • Set up our computing environment • Review codebase and train on MNIST 5 Lab 1: Introduction
  • 6. Full Stack Deep Learning - UC Berkeley Spring 2021 Lab 1 Goals • Understand the problem and path to solution • Set up our computing environment • Review codebase and train on MNIST 6 Lab 1: Introduction
  • 7. Full Stack Deep Learning - UC Berkeley Spring 2021 7 Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” …
  • 8. Full Stack Deep Learning - UC Berkeley Spring 2021 8 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model Lab 1: Introduction
  • 9. Full Stack Deep Learning - UC Berkeley Spring 2021 9 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} 9 Lab 1: Introduction
  • 10. Full Stack Deep Learning - UC Berkeley Spring 2021 10 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Decode image 10 Lab 1: Introduction
  • 11. Full Stack Deep Learning - UC Berkeley Spring 2021 11 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Decode image LineDetector 11 Lab 1: Introduction
  • 12. Full Stack Deep Learning - UC Berkeley Spring 2021 12 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Decode image LineDetector LineTextRecognizer Full stack deep learning is a 12 Lab 1: Introduction
  • 13. Full Stack Deep Learning - UC Berkeley Spring 2021 13 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request Decode image Encode response {‘pred’: ‘Full Stack Deep Learning’…, ‘conf’: 0.01} LineDetector LineTextRecognizer Full stack deep learning is a 13 {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Lab 1: Introduction
  • 14. Full Stack Deep Learning - UC Berkeley Spring 2021 14 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request Decode image Encode response {‘pred’: ‘Full Stack Deep Learning’…, ‘conf’: 0.01} LineDetector LineTextRecognizer Full stack deep learning is a Dataset • Text pages • Line labels • Line images • Decoded text 14 {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Lab 1: Introduction
  • 15. Full Stack Deep Learning - UC Berkeley Spring 2021 15 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request Decode image Encode response {‘pred’: ‘Full Stack Deep Learning’…, ‘conf’: 0.01} LineDetector LineTextRecognizer Full stack deep learning is a Dataset • Text pages • Line labels • Line images • Decoded text Training code 15 {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Lab 1: Introduction
  • 16. Full Stack Deep Learning - UC Berkeley Spring 2021 16 Model training Web Backend Submit Text Recognizer Pro Full stack deep learning is a weekend program for people who already have some deep learning experience but want to learn about the rest of the “stack” … Compiled Prediction Model ‘POST' request Decode image Encode response {‘pred’: ‘Full Stack Deep Learning’…, ‘conf’: 0.01} LineDetector LineTextRecognizer Full stack deep learning is a Dataset Training code Model weights • Text pages • Line labels • Line images • Decoded text *.h5 16 {‘image’: b'%xe3L xa6r<x1bxdcx0c x11:xfbxd9xeb …} Lab 1: Introduction
  • 17. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 17
  • 18. Full Stack Deep Learning - UC Berkeley Spring 2021 Lab 1 Goals • Understand the problem and path to solution • Set up our computing environment • Review codebase and train on MNIST 18 Lab 1: Introduction
  • 19. Full Stack Deep Learning - UC Berkeley Spring 2021 Set up computing environment • Readme • Colab setup video 19
  • 20. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 20
  • 21. Full Stack Deep Learning - UC Berkeley Spring 2021 Lab 1 Goals • Understand the problem and path to solution • Set up our computing environment • Review codebase and train on MNIST 21 Lab 1: Introduction
  • 22. Full Stack Deep Learning - UC Berkeley Spring 2021 Review Codebase and Train on MNIST • Readme • Video walkthrough 22
  • 23. Full Stack Deep Learning - UC Berkeley Spring 2021 Questions? 23