Skip to main content

7 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.

How to Check Which Version of TensorFlow Is Installed

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

Bug reports, tutorials and error messages all depend on the TensorFlow version, so knowing exactly which one a project uses is the first thing to check. TensorFlow tells you itself, in tf.__version__, and tf.version adds how it was built. This guide reads all of it from TensorFlow 2.22.0, then checks the version without starting Python.

How to Install TensorFlow with uv

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

TensorFlow is Google's open-source library for machine learning, and Keras, the library you build models with, comes with it. This guide installs both into a uv project with one command, then checks that they work, with TensorFlow 2.22.0 and Keras 3.15.1 on Python 3.14.