Cyclical Learning Rates with Keras and Deep Learning
In this tutorial, you will learn how to use Cyclical Learning Rates (CLR) and Keras to train your own neural networks. Using Cyclical Learning Rates you can dramatically reduce the number of...
View ArticleKeras Learning Rate Finder
In this tutorial, you will learn how to automatically find learning rates using Keras. This guide provides a Keras implementation of fast.ai’s popular “lr_find” method. Today is part three in our...
View ArticleAn interview with Kapil Varshney, Data Scientist at Esri R&D
In today’s blog post, I interview Kapil Varshney, a PyImageSearch reader who was recently hired at Esri Research and Development as a Data Scientist focusing on Computer Vision and Deep Learning....
View ArticleKeras: Starting, stopping, and resuming training
In this tutorial, you will learn how to use Keras to train a neural network, stop training, update your learning rate, and then resume training from where you left off using the new learning rate....
View ArticleRectified Adam (RAdam) optimizer with Keras
In this tutorial, you will learn how to use Keras and the Rectified Adam optimizer as a drop-in replacement for the standard Adam optimizer, potentially leading to a higher accuracy model (and in...
View ArticleIs Rectified Adam actually *better* than Adam?
Is the Rectified Adam (RAdam) optimizer actually better than the standard Adam optimizer? According to my 24 experiments, the answer is no, typically not (but there are cases where you do want to use...
View ArticleWhy is my validation loss lower than my training loss?
In this tutorial, you will learn the three primary reasons your validation loss may be lower than your training loss when training your own custom deep neural networks. I first became interested in...
View ArticleKeras vs. tf.keras: What’s the difference in TensorFlow 2.0?
In this tutorial you’ll discover the difference between Keras and tf.keras , including what’s new in TensorFlow 2.0. Today’s tutorial is inspired from an email I received last Tuesday from...
View Article3 ways to create a Keras model with TensorFlow 2.0 (Sequential, Functional,...
Keras and TensorFlow 2.0 provide you with three methods to implement your own neural network architectures: Sequential API Functional API Model subclassing Inside of this tutorial you’ll learn how to...
View ArticleTraffic Sign Classification with Keras and Deep Learning
In this tutorial, you will learn how to train your own traffic sign classifier/recognizer capable of obtaining over 95% accuracy using Keras and Deep Learning. Last weekend I drove down to Maryland to...
View ArticleDetecting Natural Disasters with Keras and Deep Learning
In this tutorial, you will learn how to automatically detect natural disasters (earthquakes, floods, wildfires, cyclones/hurricanes) with up to 95% accuracy using Keras, Computer Vision, and Deep...
View ArticleFire and smoke detection with Keras and Deep Learning
In this tutorial, you will learn how to detect fire and smoke using Computer Vision, OpenCV, and the Keras Deep Learning library. Today’s tutorial is inspired by an email I received last week from...
View ArticleHuman Activity Recognition with OpenCV and Deep Learning
In this tutorial you will learn how to perform Human Activity Recognition with OpenCV and Deep Learning. Our human activity recognition model can recognize over 400 activities with 78.4-94.5% accuracy...
View ArticleOpenCV Vehicle Detection, Tracking, and Speed Estimation
In this tutorial, you will learn how to use OpenCV and Deep Learning to detect vehicles in video streams, track them, and apply speed estimation to detect the MPH/KPH of the moving vehicle. This...
View ArticleHow to install TensorFlow 2.0 on macOS
In this tutorial, you will learn to install TensorFlow 2.0 on your macOS system running either Catalina or Mojave There are a number of important updates in TensorFlow 2.0, including eager execution,...
View ArticleHow to install TensorFlow 2.0 on Ubuntu
In this tutorial, you will learn to install TensorFlow 2.0 on your Ubuntu system either with or without a GPU. There are a number of important updates in TensorFlow 2.0, including eager execution,...
View ArticleLabel smoothing with Keras, TensorFlow, and Deep Learning
In this tutorial, you will learn two ways to implement label smoothing using Keras, TensorFlow, and Deep Learning. When training your own custom deep neural networks there are two critical questions...
View ArticleRaspberry Pi and Movidius NCS Face Recognition
In this tutorial you will learn how to use the Movidius NCS to speedup face detection and face recognition on the Raspberry Pi by over 243%! If you’ve ever tried to perform deep learning-based face...
View ArticleYOLO and Tiny-YOLO object detection on the Raspberry Pi and Movidius NCS
In this tutorial, you will learn how to utilize YOLO and Tiny-YOLO for near real-time object detection on the Raspberry Pi with a Movidius NCS. The YOLO object detector is often cited as being one of...
View ArticleHow to use OpenCV’s “dnn” module with NVIDIA GPUs, CUDA, and cuDNN
In this tutorial, you will learn how to use OpenCV’s “Deep Neural Network” (DNN) module with NVIDIA GPUs, CUDA, and cuDNN for 211-1549% faster inference. Back in August 2017, I published my first...
View Article