Uploaded November 2020 | Updated September 2026, 1 week ago
In this video, I update the previous classification example (with pixels) and incorporate a convolutional neural network in ml5.js! Code: thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/8-convolutional-neural-network/4-image-classification
π Watch this video ad-free on Nebula nebula.tv/videos/the-coding-train-yt-ml5-js-training-a-convolutional-neural-network-for-image-classification
p5.js Web Editor Sketches:
πΉοΈ Training a convolutional neural network: editor.p5js.org/codingtrain/sketches/ogxO8har_
πΉοΈ Mask: editor.p5js.org/codingtrain/sketches/tKLoeUD0u
π₯ Previous: youtu.be/pRWq_mtuppU?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
π₯ Next: youtu.be/cO4UP2dX944?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
π₯ All: youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
References:
π Gradient-Based Learning Applied to Document Recognition: yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf
Videos:
π What is a Convolutional Neural Network Part 2 - Max Pooling: youtu.be/pRWq_mtuppU
π Train a Neural Network with Pixels: youtu.be/UaKab6h9Z0I
π Teachable Machine 1: Image Classification: youtu.be/kwcillcWOg0
Timestamps:
0:00 Introduction
0:45 Errors in previous video
1:46 Review training with pixels
2:37 Update to the ml library
2:53 Specifiy the task: image classification
3:31 Specify the characteristics of the data
5:11 Adjust addExample function
7:11 Train the model
8:09 Debugging: loss is not decreasing
8:53 normalizeData()
10:07 Why use the convolutional neural network in ml5?
12:03 Mask versus No mask
14:48 Defining custom layers
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: thecodingtrain.com
πΎ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: github.com/CodingTrain/Suggestion-Box
π‘ GitHub: github.com/CodingTrain
π¬ Discord: thecodingtrain.com/discord
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: p5js.org
π p5.js Web Editor: editor.p5js.org
π Processing: processing.org
π Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new
#convolutionalneuralnetwork #imageclassification #ml5js #p5js
In this video, I update the previous classification example (with pixels) and incorporate a convolutional neural network in ml5.js! Code: thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/8-convolutional-neural-network/4-image-classification
π Watch this video ad-free on Nebula nebula.tv/videos/the-coding-train-yt-ml5-js-training-a-convolutional-neural-network-for-image-classification
p5.js Web Editor Sketches:
πΉοΈ Training a convolutional neural network: editor.p5js.org/codingtrain/sketches/ogxO8har_
πΉοΈ Mask: editor.p5js.org/codingtrain/sketches/tKLoeUD0u
π₯ Previous: youtu.be/pRWq_mtuppU?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
π₯ Next: youtu.be/cO4UP2dX944?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
π₯ All: youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
References:
π Gradient-Based Learning Applied to Document Recognition: yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf
Videos:
π What is a Convolutional Neural Network Part 2 - Max Pooling: youtu.be/pRWq_mtuppU
π Train a Neural Network with Pixels: youtu.be/UaKab6h9Z0I
π Teachable Machine 1: Image Classification: youtu.be/kwcillcWOg0
Timestamps:
0:00 Introduction
0:45 Errors in previous video
1:46 Review training with pixels
2:37 Update to the ml library
2:53 Specifiy the task: image classification
3:31 Specify the characteristics of the data
5:11 Adjust addExample function
7:11 Train the model
8:09 Debugging: loss is not decreasing
8:53 normalizeData()
10:07 Why use the convolutional neural network in ml5?
12:03 Mask versus No mask
14:48 Defining custom layers
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: thecodingtrain.com
πΎ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: github.com/CodingTrain/Suggestion-Box
π‘ GitHub: github.com/CodingTrain
π¬ Discord: thecodingtrain.com/discord
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: p5js.org
π p5.js Web Editor: editor.p5js.org
π Processing: processing.org
π Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new
#convolutionalneuralnetwork #imageclassification #ml5js #p5js










