Archive | Keras

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 8

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

Keras 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 three-part series of learning rate schedules, policies, and decay using Keras: Part #1: Keras learning rate schedules and decay Part #2: Cyclical Learning Rates […]

Continue Reading 29
[email]
[email]