VOOZH about

URL: https://www.coursera.org/learn/custom-distributed-training-with-tensorflow

⇱ Custom and Distributed Training with TensorFlow | Coursera


Custom and Distributed Training with TensorFlow

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

Custom and Distributed Training with TensorFlow

25,319 already enrolled

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.8

438 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
96%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.8

438 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
96%
Most learners liked this course

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: Advanced Techniques 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

In this course, you will:

• Learn about Tensor objects, the fundamental building blocks of TensorFlow, understand the difference between the eager and graph modes in TensorFlow, and learn how to use a TensorFlow tool to calculate gradients. • Build your own custom training loops using GradientTape and TensorFlow Datasets to gain more flexibility and visibility with your model training. • Learn about the benefits of generating code that runs in graph mode, take a peek at what graph code looks like, and practice generating this more efficient code automatically with TensorFlow’s tools. • Harness the power of distributed training to process more data and train larger models, faster, get an overview of various distributed training strategies, and practice working with a strategy that trains on multiple GPU cores, and another that trains on multiple TPU cores. The DeepLearning.AI TensorFlow: Advanced Techniques Specialization introduces the features of TensorFlow that provide learners with more control over their model architecture and tools that help them create and train advanced ML models. This Specialization is for early and mid-career software and machine learning engineers with a foundational understanding of TensorFlow who are looking to expand their knowledge and skill set by learning advanced TensorFlow features to build powerful models.

This week, you will get a detailed look at the fundamental building blocks of TensorFlow - tensor objects. For example, you will be able to describe the difference between eager mode and graph mode in TensorFlow, and explain why eager mode is very user friendly for you as a developer. You will also use TensorFlow tools to calculate gradients so that you don’t have to look for your old calculus textbooks next time you need to get a gradient!

What's included

12 videos3 readings1 assignment1 programming assignment2 ungraded labs

12 videosTotal 51 minutes
  • A conversation with Andrew Ng: Overview of course 25 minutes
  • What is a tensor?4 minutes
  • Creating tensors in code6 minutes
  • Math operations with tensors2 minutes
  • Basic Tensors code walkthrough4 minutes
  • Broadcasting, operator overloading and Numpy compatibility6 minutes
  • Evaluating variables and changing data types4 minutes
  • Gradient Tape4 minutes
  • Gradient Descent using Gradient Tape4 minutes
  • Calculate gradients on higher order functions5 minutes
  • Persistent=true and higher order gradients3 minutes
  • Gradient Tape basics code walkthrough3 minutes
3 readingsTotal 13 minutes
  • Join the DeepLearning.AI Forum to ask questions, get support, or share amazing ideas!2 minutes
  • Reference: CNN for visual recognition10 minutes
  • Lecture Notes Week 11 minute
1 assignmentTotal 30 minutes
  • Tensors and Gradient Tape30 minutes
1 programming assignmentTotal 60 minutes
  • Basic Tensor Operations60 minutes
2 ungraded labsTotal 120 minutes
  • Basic Tensors60 minutes
  • Gradient Tape Basics60 minutes

This week, you will build custom training loops using GradientTape and TensorFlow Datasets. Being able to write your own training loops will give you more flexibility and visibility with your model training. You will also use a function to calculate the derivatives of functions so that you don’t have to look to your old calculus textbooks to calculate gradients.

What's included

8 videos2 readings1 assignment1 programming assignment2 ungraded labs

8 videosTotal 46 minutes
  • Custom Training Loop steps4 minutes
  • Loss and gradient descent4 minutes
  • Define Training Loop and Validate Model2 minutes
  • Training Basics code walkthrough6 minutes
  • Training steps and data pipeline5 minutes
  • Define the training loop5 minutes
  • Gradients, metrics, and validation5 minutes
  • Fashion MNIST Custom Training Loop code walkthrough16 minutes
2 readingsTotal 11 minutes
  • Reference: tf.keras.metrics10 minutes
  • Lecture Notes Week 21 minute
1 assignmentTotal 30 minutes
  • Custom Training30 minutes
1 programming assignmentTotal 60 minutes
  • Breast Cancer Prediction60 minutes
2 ungraded labsTotal 120 minutes
  • Training Basics60 minutes
  • Fashion MNIST using Custom Training Loop60 minutes

This week, you’ll learn about the benefits of generating code that runs in “graph mode”. You’ll take a peek at what graph code looks like, and you’ll practice generating this more efficient code automatically with TensorFlow’s tools, so that you don’t have to write the graph code yourself!

What's included

6 videos2 readings1 assignment1 programming assignment2 ungraded labs

6 videosTotal 35 minutes
  • Benefits of graph mode4 minutes
  • Generating graph code4 minutes
  • AutoGraph Basics code walkthrough6 minutes
  • Control dependencies and flows4 minutes
  • Loops and tracing variables5 minutes
  • AutoGraph code walkthrough12 minutes
2 readingsTotal 11 minutes
  • Reference: Fizz Buzz10 minutes
  • Lecture Notes Week 31 minute
1 assignmentTotal 30 minutes
  • AutoGraph30 minutes
1 programming assignmentTotal 120 minutes
  • Horse or Human?120 minutes
2 ungraded labsTotal 120 minutes
  • AutoGraph Basics60 minutes
  • AutoGraph60 minutes

This week, you will harness the power of distributed training to process more data and train larger models, faster. You’ll get an overview of various distributed training strategies and then practice working with two strategies, one that trains on multiple GPU cores, and the other that trains on multiple TPU cores. Get your cape ready, because you’re going to get some superpowers this week!

What's included

9 videos5 readings1 assignment2 programming assignments4 ungraded labs

9 videosTotal 56 minutes
  • Intro to distribution strategies4 minutes
  • Types of distribution strategies4 minutes
  • Converting code to the Mirrored Strategy4 minutes
  • Mirrored Strategy code walkthrough5 minutes
  • Custom Training for Multiple GPU Mirrored Strategy5 minutes
  • Multi GPU Mirrored Strategy code walkthrough13 minutes
  • TPU Strategy6 minutes
  • TPU Strategy code walkthrough10 minutes
  • Other Distributed Strategies4 minutes
5 readingsTotal 33 minutes
  • References used in Other Distributed Strategies10 minutes
  • Lecture Notes Week 41 minute
  • [IMPORTANT] Reminder about end of access to Lab Notebooks2 minutes
  • References 10 minutes
  • Acknowledgments10 minutes
1 assignmentTotal 30 minutes
  • Distributed Strategy30 minutes
2 programming assignmentsTotal 240 minutes
  • Distributed Strategy180 minutes
  • Upload your model (optional)60 minutes
4 ungraded labsTotal 240 minutes
  • Mirrored Strategy60 minutes
  • Multi GPU Mirrored Strategy60 minutes
  • TPU Strategy60 minutes
  • One Device Strategy60 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.

Instructors

Instructor ratings
4.9 (73 ratings)
DeepLearning.AI
22 Courses605,141 learners

Explore more from Machine Learning

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

    83.33%

  • 4 stars

    12.55%

  • 3 stars

    2.51%

  • 2 stars

    1.14%

  • 1 star

    0.45%

Showing 3 of 438

AA
·

Reviewed on Jan 20, 2021

He is a very good instructor and the content is well prepared, also the course covers rare topics.

AZ
·

Reviewed on Jan 7, 2021

Difficult concepts are explained with simple words and simple examples. Great course

VV
·

Reviewed on Jan 8, 2022

A​nother great course by Moroney sir. Loved how TF can be used to train models using different strategies. A great intro to the deep applications of TensorFlow

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,