Archive | Tutorials

Detecting 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 Learning. I remember the first time I ever experienced a natural disaster — I was just a kid in kindergarten, no more than 6-7 years old. We were […]

Continue Reading 14

3 ways to create a Keras model with TensorFlow 2.0 (Sequential, Functional, and Model Subclassing)

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 utilize each of these methods, including how to choose the right API for the job. To learn more about Sequential, Functional, and Model subclassing with […]

Continue Reading 16

Keras 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 PyImageSearch reader, Jeremiah. Jeremiah asks: Hi Adrian, I saw that TensorFlow 2.0 was released a few days ago. TensorFlow developers seem to be promoting Keras, or […]

Continue Reading 33

Why 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 studying machine learning and neural networks in late high school. Back then there weren’t many accessible machine learning libraries — and there […]

Continue Reading 20

Multiprocessing with OpenCV and Python

In this tutorial, you will learn how to use multiprocessing with OpenCV and Python to perform feature extraction. You’ll learn how to use multiprocessing with OpenCV to parallelize feature extraction across the system bus, including all processors and cores on your computer. Today’s tutorial is inspired by PyImageSearch reader, Abigail. Abigail writes: Hey Adrian, I […]

Continue Reading 32