Coders Packet

Custom Callbacks using TensorFlow with Python

By Saket Singh

In this tutorial, we are going to learn about custom callbacks. we will see what are callbacks and how can we can build our own callbacks in TensorFlow with Python.

We will be using Python throughout this article.

Callbacks help us understand more about our model, they help us in monitoring our model in a better way.

Callbacks help us in playing around with our model in the way we want to:-

like, stop training while a particular accuracy is reached or change parameters after a few epochs.

There are lots of things which we can do with custom callbacks.

TensorFlow also contains some predefined callback methods to make it easy for us but custom callback gives us freedom which other callbacks don't.

Let's see how can we create our own callback in Tensorflow.

To install TensorFlow.

pip install tensorflow

 

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Saket Singh (saketsingh)

Download packets of source code on Coders Packet