VOOZH about

URL: https://www.coursera.org/learn/device-based-models-tensorflow

⇱ Device-based Models with TensorFlow Lite | Coursera


Device-based Models with TensorFlow Lite

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Device-based Models with TensorFlow Lite

32,708 already enrolled

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.7

655 reviews

Intermediate level

Recommended experience

Flexible schedule
1 week at 10 hours a week
Learn at your own pace
97%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.7

655 reviews

Intermediate level

Recommended experience

Flexible schedule
1 week at 10 hours a week
Learn at your own pace
97%
Most learners liked this course

What you'll learn

  • Prepare models for battery-operated devices

  • Execute models on Android and iOS platforms

  • Deploy models on embedded systems like Raspberry Pi and microcontrollers

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

4 assignments

Taught in English

Build your subject-matter expertise

This course is part of the TensorFlow: Data and Deployment Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 4 modules in this course

Bringing a machine learning model into the real world involves a lot more than just modeling. This Specialization will teach you how to navigate various deployment scenarios and use data more effectively to train your model.

This second course teaches you how to run your machine learning models in mobile applications. You’ll learn how to prepare models for a lower-powered, battery-operated devices, then execute models on both Android and iOS platforms. Finally, you’ll explore how to deploy on embedded systems using TensorFlow on Raspberry Pi and microcontrollers. This Specialization builds upon our TensorFlow in Practice Specialization. If you are new to TensorFlow, we recommend that you take the TensorFlow in Practice Specialization first. To develop a deeper, foundational understanding of how neural networks work, we recommend that you take the Deep Learning Specialization.

Welcome to this course on TensorFlow Lite, an exciting technology that allows you to put your models directly and literally into people's hands. You'll start with a deep dive into the technology, and how it works, learning about how you can optimize your models for mobile use -- where battery power and processing power become an important factor. You'll then look at building applications on Android and iOS that use models, and you'll see how to use the TensorFlow Lite Interpreter in these environments. You'll wrap up the course with a look at embedded systems and microcontrollers, running your models on Raspberry Pi and SparkFun Edge boards. Don't worry if you don't have access to the hardware -- for the most part you'll be able to do everything in emulated environments. So, let's get started by looking at what TensorFlow is and how it works!

What's included

14 videos8 readings1 assignment1 programming assignment1 ungraded lab

14 videosβ€’Total 40 minutes
  • Introduction, A conversation with Andrew Ngβ€’5 minutes
  • A few words from Laurenceβ€’1 minute
  • Features and components of mobile AIβ€’2 minutes
  • Architecture and performanceβ€’3 minutes
  • Optimization Techniquesβ€’2 minutes
  • Saving, converting, and optimizing a modelβ€’4 minutes
  • Examplesβ€’2 minutes
  • Quantizationβ€’3 minutes
  • TF-Selectβ€’2 minutes
  • Paths in Optimizationβ€’2 minutes
  • Running the modelsβ€’2 minutes
  • Transfer learningβ€’3 minutes
  • Converting a model to TFLiteβ€’2 minutes
  • Transfer learning with TFLiteβ€’5 minutes
8 readingsβ€’Total 54 minutes
  • Prerequisitesβ€’10 minutes
  • Downloading the Ungraded Labs and Programming Assignmentsβ€’10 minutes
  • GPU delegatesβ€’10 minutes
  • Join the DeepLearning.AI Forum to ask questions, get support, or share amazing ideas!β€’2 minutes
  • Learn about supported ops and TF-Selectβ€’10 minutes
  • Week 1 Wrap upβ€’1 minute
  • Lecture Notes Week 1β€’1 minute
  • Exercise Descriptionβ€’10 minutes
1 assignment
  • Week 1 Quizβ€’0 minutes
1 programming assignmentβ€’Total 180 minutes
  • Exercise 1 - Train Your Own Model and Convert It to TFLiteβ€’180 minutes
1 ungraded labβ€’Total 60 minutes
  • Exercise 1 - Train Your Own Model and Convert It to TFLiteβ€’60 minutes

Last week you learned about TensorFlow Lite and you saw how to convert your models from TensorFlow to TensorFlow Lite format. You also learned about the standalone TensorFlow Lite Interpreter which could be used to test these models. You wrapped with an exercise that converted a Fashion MNIST based model to TensorFlow Lite and then tested it with the interpreter. This week you'll look at the first of the deployment types for this course: Android. Android is a versatile operating system that is used in a number of different device type, but most commonly phones, tablets and TV systems. Using TensorFlow Lite you can run your models on Android, so you can bring ML to any of these device types. While it helps to understand some Android programming concepts, we hope that you'll be able to follow along even if you don't, and at the very least try out the full sample apps that we'll explore for Image Classification, Object Detection and more!

What's included

15 videos4 readings1 assignment

15 videosβ€’Total 36 minutes
  • Introduction, A conversation with Andrewβ€’3 minutes
  • Installation and resourcesβ€’2 minutes
  • Architecture of a modelβ€’1 minute
  • Initializing the Interpreterβ€’3 minutes
  • Preparing the Inputβ€’2 minutes
  • Inference and resultsβ€’2 minutes
  • Code walkthroughβ€’4 minutes
  • Run the Appβ€’3 minutes
  • Classifying camera imagesβ€’1 minute
  • Initialize and prepare inputβ€’4 minutes
  • Demo of camera image classifierβ€’5 minutes
  • Initialize model and prepare inputsβ€’2 minutes
  • Inference and resultsβ€’3 minutes
  • Demo of the object detection Appβ€’1 minute
  • Code for the inference and resultsβ€’3 minutes
4 readingsβ€’Total 31 minutes
  • Android fundamentals and installationβ€’10 minutes
  • Week 2 Wrap upβ€’10 minutes
  • Lecture Notes Week 2β€’1 minute
  • Descriptionβ€’10 minutes
1 assignment
  • Week 2 Quizβ€’0 minutes

The other popular mobile operating system is, of course, iOS. So this week you'll do very similar tasks to last week -- learning how to take models and run them on iOS. You'll need some programming background with Swift for iOS to fully understand everything we go through, but even if you don't have this expertise, I think this weeks content is something you'll find fun to explore -- and you'll learn how to build a variety of ML applications that run on this important operating system!

What's included

22 videos9 readings1 assignment

22 videosβ€’Total 45 minutes
  • Introduction, A conversation with Andrew Ngβ€’1 minute
  • A few words from Laurenceβ€’1 minute
  • What is Swift?β€’1 minute
  • TensorFlowLiteSwiftβ€’2 minutes
  • Cats vs Dogs Appβ€’2 minutes
  • Taking the initial stepsβ€’3 minutes
  • Scaling the imageβ€’2 minutes
  • More steps in the processβ€’3 minutes
  • Looking at the App in Xcodeβ€’5 minutes
  • What have we done so far and how do we continue?β€’1 minute
  • Using the Appβ€’1 minute
  • App architectureβ€’1 minute
  • Model detailsβ€’1 minute
  • Initial stepsβ€’5 minutes
  • Final stepsβ€’2 minutes
  • Looking at the code for the image classification Appβ€’5 minutes
  • Object classification introβ€’1 minute
  • TFL detect Appβ€’1 minute
  • App architectureβ€’1 minute
  • Initial stepsβ€’1 minute
  • Final stepsβ€’4 minutes
  • Looking at the code for the object detection modelβ€’3 minutes
9 readingsβ€’Total 81 minutes
  • Important linksβ€’10 minutes
  • Apple’s developer's site β€’10 minutes
  • Apple's APIβ€’10 minutes
  • More detailsβ€’10 minutes
  • Camera related functionalitiesβ€’10 minutes
  • The Coco datasetβ€’10 minutes
  • Week 3 Wrap upβ€’10 minutes
  • Lecture Notes Week 3β€’1 minute
  • Descriptionβ€’10 minutes
1 assignment
  • Week 3 Quizβ€’0 minutes

Now that you've looked at TensorFlow Lite and explored building apps on Android and iOS that use it, the next and final step is to explore embedded systems like Raspberry Pi, and learn how to get your models running on that. The nice thing is that the Pi is a full Linux system, so it can run Python, allowing you to either use the full TensorFlow for Training and Inference, or just the Interpreter for Inference. I'd recommend the latter, as training on a Pi can be slow!

What's included

13 videos9 readings1 assignment

13 videosβ€’Total 29 minutes
  • Introduction, A conversation with Andrew Ngβ€’2 minutes
  • A few words from Laurenceβ€’3 minutes
  • Devicesβ€’3 minutes
  • Starting to work on a Raspberry Piβ€’1 minute
  • How do we start?β€’2 minutes
  • Image classificationβ€’1 minute
  • The 4 step processβ€’2 minutes
  • Object detectionβ€’1 minute
  • Back to the 4 step processβ€’4 minutes
  • Raspberry Pi demoβ€’3 minutes
  • Microcontrollersβ€’3 minutes
  • Closing words by Laurenceβ€’0 minutes
  • A conversation with Andrew Ngβ€’1 minute
9 readingsβ€’Total 64 minutes
  • Edge TPU modelsβ€’10 minutes
  • Options to choose fromβ€’10 minutes
  • Pre optimized mobileNetβ€’1 minute
  • Object detection model trained on the cocoβ€’10 minutes
  • Suggested linksβ€’10 minutes
  • [IMPORTANT] Reminder about end of access to Lab Notebooksβ€’2 minutes
  • Lecture Notes Week 4β€’1 minute
  • Descriptionβ€’10 minutes
  • Wrap upβ€’10 minutes
1 assignment
  • Week 4 Quizβ€’0 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Instructor ratings
4.8 (75 ratings)
DeepLearning.AI
22 Coursesβ€’605,141 learners

Explore more from Software Development

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    77.92%

  • 4 stars

    16.28%

  • 3 stars

    4.26%

  • 2 stars

    0.76%

  • 1 star

    0.76%

Showing 3 of 655

BS
Β·

Reviewed on Oct 12, 2020

Really informative course on tf lite for beginners like me, it has given serious thoughts about the EDGEML field and opportunities , thanks coursera and deeplearning.ai for this kind of courses.

AC
Β·

Reviewed on Apr 10, 2020

The course was a good one from the instructor. Could have made it more interesting. But anyways a good starter course for anyone.

RS
Β·

Reviewed on Feb 14, 2020

Just one recommendation, may be an exercise on a NLP Model deployment (Text or audio) could have been added rather than all 3 examples of computer vision

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,