Category: Machine Learning

#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

017 CNN Inception Network

#017 CNN Inception Network

\(Inception\enspace network \)  Motivation for the \(Inception\enspace network \): In the last post we talked about why \(1\times 1 \) convolutional layer can be useful and now we will use it for building the \(Inception\enspace network \). When designing a layer for a \(convnet \) we might have to choose between a \(1 \times 3 \) filter, a \(3 \times 3\) or \(5\times 5\) or maybe a pooling layer. An \(Inception\enspace network \) solves this…
Read more