Uploaded June 2020 | Updated November 2026, 3 hours ago
Learn data skills with hands-on exercises & tutorials at Datacamp!
datacamp.pxf.io/c/3588040/1012793/13294
In this video we walk through the process of training a convolutional neural net to classify images of rock, paper, & scissors. We do this using the Tensorflow & Keras libraries. This is a follow-up to the first video I posted on neural networks.
Introduction to Neural Nets: youtu.be/aBIGJeHRZLQ
Link to my code (github): github.com/KeithGalli/neural-nets
Link to Google Colab file: colab.research.google.com/drive/1MiRP2fwgGg6zfEnLuOZ_6X7lmeePTFaR?usp=sharing
---------------------
Resources!
Learn more about CNNs
Good written overview: towardsdatascience.com/a-comprehensive-guide-to-convolutional-neural-networks-the-eli5-way-3bd2b1164a53
Good video overview (@CodeEmporium ): youtu.be/m8pOnJxOcqY
Illustrated Examples of CNNs: towardsdatascience.com/illustrated-10-cnn-architectures-95d78ace614d
MNIST Example: keras.io/examples/mnist_cnn
Learn more about TensorFlow datasets
tensorflow.org/datasets/overview
tensorflow.org/datasets/catalog/overview
Learn more about Kerastuner
Documentation: keras-team.github.io/keras-tuner
@sentdex : youtu.be/vvC15l4CY1Q
@krishnaik06 : youtu.be/OzLAdpqm35E
Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith
Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli
---------------------
Video Timeline!
0:00 Video Overview
0:33 Getting Started (Setup & Installation)
2:24 Finding datasets to use
6:02 Data Preparation
10:26 Additional Data Prep (Convert data to NumPy format)
15:22 Reshape Data & Normalize values between 0-1
19:39 Train our first network to classify images
25:06 Convolutional Neural Net (CNN) approach
28:48 Using GPU on Google Colab (speed up training)
31:22 Improving our CNN (reduce image size, max pooling, dropout, etc)
40:18 Using Kerastuner to automatically pick best hyperparameters
52:50 Save & Load our models
54:16 Plot NumPy arrays as images
57:38 Convert JPG/PNG images to NumPy
1:00:20 Final thoughts
---------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
If you are curious to learn how I make my tutorials, check out this video: youtu.be/LEO4igyXbLs
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Learn data skills with hands-on exercises & tutorials at Datacamp!
datacamp.pxf.io/c/3588040/1012793/13294
In this video we walk through the process of training a convolutional neural net to classify images of rock, paper, & scissors. We do this using the Tensorflow & Keras libraries. This is a follow-up to the first video I posted on neural networks.
Introduction to Neural Nets: youtu.be/aBIGJeHRZLQ
Link to my code (github): github.com/KeithGalli/neural-nets
Link to Google Colab file: colab.research.google.com/drive/1MiRP2fwgGg6zfEnLuOZ_6X7lmeePTFaR?usp=sharing
---------------------
Resources!
Learn more about CNNs
Good written overview: towardsdatascience.com/a-comprehensive-guide-to-convolutional-neural-networks-the-eli5-way-3bd2b1164a53
Good video overview (@CodeEmporium ): youtu.be/m8pOnJxOcqY
Illustrated Examples of CNNs: towardsdatascience.com/illustrated-10-cnn-architectures-95d78ace614d
MNIST Example: keras.io/examples/mnist_cnn
Learn more about TensorFlow datasets
tensorflow.org/datasets/overview
tensorflow.org/datasets/catalog/overview
Learn more about Kerastuner
Documentation: keras-team.github.io/keras-tuner
@sentdex : youtu.be/vvC15l4CY1Q
@krishnaik06 : youtu.be/OzLAdpqm35E
Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith
Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli
---------------------
Video Timeline!
0:00 Video Overview
0:33 Getting Started (Setup & Installation)
2:24 Finding datasets to use
6:02 Data Preparation
10:26 Additional Data Prep (Convert data to NumPy format)
15:22 Reshape Data & Normalize values between 0-1
19:39 Train our first network to classify images
25:06 Convolutional Neural Net (CNN) approach
28:48 Using GPU on Google Colab (speed up training)
31:22 Improving our CNN (reduce image size, max pooling, dropout, etc)
40:18 Using Kerastuner to automatically pick best hyperparameters
52:50 Save & Load our models
54:16 Plot NumPy arrays as images
57:38 Convert JPG/PNG images to NumPy
1:00:20 Final thoughts
---------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
If you are curious to learn how I make my tutorials, check out this video: youtu.be/LEO4igyXbLs
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.










