Category: Machine Learning

#002 TF 2.0 An Introduction to TensorFlow 2.0

Highlights: In this post we are going to talk more about what are TensorFlow data model elements. Those are elements like Constants and Variables. So let’s see how we can create an operation like \(c = a*b\) and run it with the following lines of code. TensorFlow data model elements There are certain programming elements in TensorFlow that are essential for writing any TensorFlow code like Constants and Variables. These data model elements are used…
Read more

#001 TF 2.0 An Introduction to TensorFlow 2.0

What is TensorFlow 2.0? TensorFlow is an open-source library for numerical computations built by Google Brain team. TensorFlow is based on the data flow graphs. Moreover, it actually allows developers to create data flow graphs—structures that describe how data moves through a graph, or a series of processing nodes. Each node in the graph represents a mathematical operation, and each connection or edge between nodes is a multidimensional data array or a tensor. If we…
Read more

#027 CNN Non-Max Suppression algorithm

Non-Max Suppression In this post, we will learn how the non-max suppression algorithm allows us to overcome multiple detections of the same object in an image. Let’s go through an example! Let’s say we want to detect pedestrians, cars, and motorcycles in this image. If we look at the picture above we can see that there are two cars. Each of these two cars has one midpoint so it should be assigned to just one…
Read more

#026 CNN Intersection over Union

Intersection over Union In this post, we will learn about a function called Intersection over union. We will use this to make our object detection algorithm to work even better. How do we tell if our object detection algorithm is working well? When doing the object detection our task is to localize the object in the best possible way. Take a look at the picture above we can see that there are two bounding boxes…
Read more

025 CNN Bounding Box Predictions

#025 CNN Bounding Box Predictions

Bounding box predictions In the last post, we learned how to use a convolutional implementation of sliding windows. That’s more computationally efficient, but it still has a problem of not outputting the most accurate bounding boxes.  In this post, we will see how we can obtain more accurate predictions of bounding boxes.  Output accurate bounding boxes With sliding windows, we take the sets of windows that we move throughout the image and we obtain a set of sliding…
Read more