Tag Archives | tensorflow

Label 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 that you should constantly be asking yourself: Am I overfitting to my training data? Will my model generalize to data outside my training and […]

Continue Reading 8

How 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, automatic differentiation, and better multi-GPU/distributed training support, but the most important update is that Keras is now the official high-level deep learning API for TensorFlow. […]

Continue Reading 42

How 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, automatic differentiation, and better multi-GPU/distributed training support, but the most important update is that Keras is now the official high-level deep learning API for TensorFlow. Furthermore, […]

Continue Reading 8

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 36

Keras vs. TensorFlow – Which one is better and which one should I learn?

Should I be using Keras vs. TensorFlow for my project? Is TensorFlow or Keras better? Should I invest my time studying TensorFlow? Or Keras? The above are all examples of questions I hear echoed throughout my inbox, social media, and even in-person conversations with deep learning researchers, practitioners, and engineers. I even receive questions related […]

Continue Reading 30

How-To: Multi-GPU training with Keras, Python, and deep learning

Keras is undoubtedly my favorite deep learning + Python framework, especially for image classification. I use Keras in production applications, in my personal deep learning projects, and here on the PyImageSearch blog. I’ve even based over two-thirds of my new book, Deep Learning for Computer Vision with Python on Keras. However, one of my biggest […]

Continue Reading 64

Installing Keras with TensorFlow backend

A few months ago I demonstrated how to install the Keras deep learning library with a Theano backend. In today’s blog post I provide detailed, step-by-step instructions to install Keras using a TensorFlow backend, originally developed by the researchers and engineers on the Google Brain Team. I’ll also (optionally) demonstrate how you can integrate OpenCV into […]

Continue Reading 78
[email]
[email]