Skip to main content

42 posts tagged with "TensorFlow"

TensorFlow, Google's Open-Source Library for Building, Training and Deploying Machine-Learning Models

View All Tags

TensorFlow Tutorial for Deep Learning in Python — Part 1: Install TensorFlow and Set Up Your First Project

· 34 min read
Jagdish Kumawat
Founder @ Dewiride

TensorFlow is Google's open-source library for deep learning, and Keras is the library you build its models with. In this first part you install TensorFlow 2.22 in a Python 3.14 project, check what it runs on, find out where its slow first import goes, and download the 3,670 flower photos that the series' first model learns to tell apart.

How to Download and Extract a Dataset with keras.utils.get_file

· 10 min read
Jagdish Kumawat
Founder @ Dewiride

Most deep-learning tutorials start by downloading a dataset, and nobody wants to download it again on every run. keras.utils.get_file downloads a file once, keeps it in a cache, extracts it if it's an archive, and checks it against a hash you give it. This guide downloads a small archive with Keras 3.15.1 and uses each of those features.

How to Check Whether TensorFlow Can Use a GPU

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

Training a neural network on a GPU can be many times faster than on a CPU, but only if TensorFlow can actually see the GPU. Before you wait for a long training run, ask TensorFlow which devices it has. This guide does that with TensorFlow 2.22.0 on a Mac, where the honest answer is "the CPU only", and shows what tells you why.