From the course: Deep Learning: Image Recognition
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Extracting features with a pre-trained neural network - Python Tutorial
From the course: Deep Learning: Image Recognition
Extracting features with a pre-trained neural network
- [Narrator] Let's use transfer learning to build an image recognition system that can identify pictures of dogs. The first step is to build a feature extractor that can extract training features from our images. Let's get started. First, we need some training data. I've included some along with the example code. Let's take a look here in the training data folder. First, I have a sub-folder called dogs. These pictures are 64 by 64 pixel images from the image net dataset. If you're building your own image recognition system, you can use your own pictures of whatever kind of objects you wanna recognize instead. Next, we have a folder called "not dogs." These are various pictures of anything that's not a dog. It's important that these pictures are as varied as possible, so that the model can learn the difference between dogs and other types of objects. Alright, let's take a look at the code. Open up "04_feature_extraction.py". We're gonna write the code that will use the pretrained model…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Pre-trained neural networks included with Keras3m 28s
-
(Locked)
Using a pre-trained network for object recognition3m 40s
-
(Locked)
Transfer learning as an alternative to training a new neural network3m 53s
-
(Locked)
Extracting features with a pre-trained neural network5m 40s
-
(Locked)
Training a new neural network with extracted features1m 49s
-
(Locked)
Making predictions with transfer learning3m 30s
-
-
-