Create a Basic Neural Network Model - Deep Learning with PyTorch 5

  Рет қаралды 38,964

Codemy.com

Codemy.com

Күн бұрын

In this video we'll start to build a very basic Neural Network using Pytorch and Python.
We'll eventually use the Iris dataset to classify Iris flower pictures.
In this video we'll start to build out our Model, define our neuron layers, and our forward function.
#pytorch #codemy #JohnElder
Timecodes
0:00​​ - Introduction
0:45 - Iris Dataset
1:35 - Neural Network Overview
4:47 - Import Torch and NN
5:22 - Create Model Class
8:00 - Build Out The Model
10:44 - Build Forward Function
13:00 - Seed Randomization
13:43 - Create Model Instance
14:03 - Troubleshoot Errors
15:00 - Conclusion

Пікірлер: 66
@Codemycom
@Codemycom 11 ай бұрын
▶ Watch Deep Learning With Pytorch Playlist ✅ Subscribe To My KZbin Channel: bit.ly/40BcQa8 bit.ly/2IGzvOR ▶ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN ▶ Get The Code bit.ly/3n5K2J9
@papaschultz
@papaschultz 5 ай бұрын
Спасибо. Очень всё доходчиво изложено, особенно работа с PyTorch
@iKostanCom
@iKostanCom 11 ай бұрын
Nice and simple, thanks for your effort here.
@Codemycom
@Codemycom 11 ай бұрын
Welcome!
@bernardkamau1686
@bernardkamau1686 11 ай бұрын
Have really learned alot from django Wednesdays and other codemy videos...keep up bro💪
@Codemycom
@Codemycom 11 ай бұрын
Happy to hear it!
@tenzinnamdhak
@tenzinnamdhak 4 ай бұрын
wow.. explanation is great and to the point if you are watching the steps in the neural network for sometime.
@Codemycom
@Codemycom 4 ай бұрын
Glad you enjoyed it!
@sarbasmetehan9267
@sarbasmetehan9267 Ай бұрын
Thank you, the entire playlist was incredible...
@Codemycom
@Codemycom Ай бұрын
Glad you enjoyed it!
@fangjingzhang7993
@fangjingzhang7993 9 ай бұрын
Very useful tutorial! Thank you
@Codemycom
@Codemycom 5 ай бұрын
welcome
@truelove-tr7mg
@truelove-tr7mg Ай бұрын
This play list is a must see for deep learning starters! Thank you!
@Codemycom
@Codemycom Ай бұрын
Glad you're enjoying it!
@robertb874
@robertb874 Ай бұрын
@@Codemycom Yes! Thank you for your video. I love how you talk! You do not read out of a script and talk fluently and not with a not understandable accent!!! THANK YOU!
@robertb874
@robertb874 Ай бұрын
I searched for such a video for the past 30min hahahah
@Codemycom
@Codemycom Ай бұрын
@@robertb874 ha, thanks
@sushibooshi
@sushibooshi 15 күн бұрын
You're an awesome teacher!
@Codemycom
@Codemycom 15 күн бұрын
Thanks!
@volodyslove
@volodyslove 10 ай бұрын
like your elaborate explanation! You're very cool😁
@Codemycom
@Codemycom 10 ай бұрын
Thanks!
@kevinkawchak
@kevinkawchak 8 ай бұрын
Thank you for the discussion.
@Codemycom
@Codemycom 8 ай бұрын
Welcome
@codelock69
@codelock69 4 ай бұрын
Thank you for the awesome tutorials
@Codemycom
@Codemycom 4 ай бұрын
Welcome
@Harduex
@Harduex 5 ай бұрын
Very good explained!
@Codemycom
@Codemycom 5 ай бұрын
thanks
@markmagumba6801
@markmagumba6801 6 ай бұрын
I like that you don't edit out the errors
@WorldScience24
@WorldScience24 3 ай бұрын
Great work 👍
@Codemycom
@Codemycom 3 ай бұрын
Thanks
@DipeshKumarSingh
@DipeshKumarSingh 2 ай бұрын
Thank you so much for the video. Is Seq2Seq models also covered in the course. Is it on codemy ?
@sarbasmetehan9267
@sarbasmetehan9267 Ай бұрын
Yoo mr. white teach me ai.....
@Codemycom
@Codemycom Ай бұрын
Ha
@piergiorgiocianciullo6784
@piergiorgiocianciullo6784 Күн бұрын
Thanks man! 👌🏻✌🏻
@Codemycom
@Codemycom Күн бұрын
Welcome!
@jaafaroromaphis6440
@jaafaroromaphis6440 7 ай бұрын
God bless you your the men 🎉🎉🎉🎉🎉
@Codemycom
@Codemycom 7 ай бұрын
Thanks!
@infinitylogic_ahmed
@infinitylogic_ahmed 3 ай бұрын
THANK YOU
@Codemycom
@Codemycom 3 ай бұрын
Welcome!
@user-zi2xu6mx8o
@user-zi2xu6mx8o 3 ай бұрын
super great
@Codemycom
@Codemycom 3 ай бұрын
Thanks!
@jinanren2026
@jinanren2026 6 ай бұрын
love how google provides some free memory for running ur stuff... it seems to work jus fine, and glad there's no h3 cuz' i just wanna see the thing run
@Codemycom
@Codemycom 6 ай бұрын
yep!
@balunatarajan
@balunatarajan Ай бұрын
thanks
@Codemycom
@Codemycom Ай бұрын
Welcome
@doords
@doords 4 күн бұрын
Why is linear model the best for this, and how do you decide how many layers of hidden neurons.
@abd5184
@abd5184 4 ай бұрын
I love you man
@Codemycom
@Codemycom 4 ай бұрын
🙂
@FarhanKhan-kt5es
@FarhanKhan-kt5es 3 ай бұрын
will it not be easy if you use sequential API instead of functional API
@StaderaN01827826412481
@StaderaN01827826412481 6 ай бұрын
Loud and clear.
@Codemycom
@Codemycom 6 ай бұрын
thanks
@gadmuhirwa5226
@gadmuhirwa5226 6 ай бұрын
python nn.py Traceback (most recent call last): File "nn.py", line 6, in class Model(nn.Module): File "nn.py", line 22, in Model Model = Model() NameError: name 'Model' is not defined
@Codemycom
@Codemycom 5 ай бұрын
Did you define the class and hit shift+enter to run the cell, after importing nn?
@YassineSaidani-gs9nx
@YassineSaidani-gs9nx 5 ай бұрын
you re like icenberg anyways thx for the course
@onyxtechnologyx
@onyxtechnologyx 11 ай бұрын
First viewer
@Codemycom
@Codemycom 11 ай бұрын
Nice!
@gadmuhirwa5226
@gadmuhirwa5226 6 ай бұрын
why they are giving such Error: NameError: name 'Model' is not defined
@Codemycom
@Codemycom 6 ай бұрын
Sounds like you forgot to import nn
@gadmuhirwa5226
@gadmuhirwa5226 6 ай бұрын
Thanks for reply@@Codemycom its already imported: import torch.nn as nn import torch.nn.functional as F
@gadmuhirwa5226
@gadmuhirwa5226 6 ай бұрын
but the name Model was already defined as Class model @all
@Codemycom
@Codemycom 5 ай бұрын
Sounds like you forgot to import nn
@TweetyStickFigure
@TweetyStickFigure 8 ай бұрын
model = Model isn't working
@Codemycom
@Codemycom 8 ай бұрын
You did something differently from the video...what?
@TweetyStickFigure
@TweetyStickFigure 8 ай бұрын
@@Codemycom I’ll find out eventually. Doesn’t help being dyslexic and reading chunks of code 😭😭
@pikadroo
@pikadroo 9 ай бұрын
My AI is gonna detect bald, goatee, eyeglass wearing IT guys and do their job better so they can leave the tech industry. 😊 anyone have a dataset?
@Codemycom
@Codemycom 9 ай бұрын
lol
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 135 МЛН
小路飞姐姐居然让路飞小路飞都消失了#海贼王  #路飞
00:47
路飞与唐舞桐
Рет қаралды 90 МЛН
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 13 МЛН
Convolutional and Pooling Layers - Deep Learning with PyTorch 15
18:20
How to Create a Neural Network (and Train it to Identify Doodles)
54:51
Sebastian Lague
Рет қаралды 1,8 МЛН
Building a Neural Network with PyTorch in 15 Minutes | Coding Challenge
20:34
Build Your First Pytorch Model In Minutes! [Tutorial + Code]
31:32
Create a Simple Neural Network in Python from Scratch
14:15
Polycode
Рет қаралды 760 М.
Tensors With PyTorch - Deep Learning with PyTorch 2
10:05
Codemy.com
Рет қаралды 13 М.
But what is a neural network? | Chapter 1, Deep learning
18:40
3Blue1Brown
Рет қаралды 16 МЛН
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 135 МЛН