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

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

Пікірлер: 63

  • @Codemycom
    @Codemycom11 ай бұрын

    ▶ Watch Deep Learning With Pytorch Playlist ✅ Subscribe To My KZread 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
    @papaschultz5 ай бұрын

    Спасибо. Очень всё доходчиво изложено, особенно работа с PyTorch

  • @sarbasmetehan9267
    @sarbasmetehan9267Ай бұрын

    Thank you, the entire playlist was incredible...

  • @Codemycom

    @Codemycom

    Ай бұрын

    Glad you enjoyed it!

  • @tenzinnamdhak
    @tenzinnamdhak4 ай бұрын

    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!

  • @fangjingzhang7993
    @fangjingzhang79939 ай бұрын

    Very useful tutorial! Thank you

  • @Codemycom

    @Codemycom

    5 ай бұрын

    welcome

  • @bernardkamau1686
    @bernardkamau168611 ай бұрын

    Have really learned alot from django Wednesdays and other codemy videos...keep up bro💪

  • @Codemycom

    @Codemycom

    11 ай бұрын

    Happy to hear it!

  • @iKostanCom
    @iKostanCom11 ай бұрын

    Nice and simple, thanks for your effort here.

  • @Codemycom

    @Codemycom

    11 ай бұрын

    Welcome!

  • @kevinkawchak
    @kevinkawchak8 ай бұрын

    Thank you for the discussion.

  • @Codemycom

    @Codemycom

    8 ай бұрын

    Welcome

  • @truelove-tr7mg
    @truelove-tr7mg26 күн бұрын

    This play list is a must see for deep learning starters! Thank you!

  • @Codemycom

    @Codemycom

    25 күн бұрын

    Glad you're enjoying it!

  • @robertb874

    @robertb874

    22 күн бұрын

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

    22 күн бұрын

    I searched for such a video for the past 30min hahahah

  • @Codemycom

    @Codemycom

    22 күн бұрын

    @@robertb874 ha, thanks

  • @sushibooshi
    @sushibooshi7 күн бұрын

    You're an awesome teacher!

  • @Codemycom

    @Codemycom

    7 күн бұрын

    Thanks!

  • @markmagumba6801
    @markmagumba68016 ай бұрын

    I like that you don't edit out the errors

  • @codelock69
    @codelock694 ай бұрын

    Thank you for the awesome tutorials

  • @Codemycom

    @Codemycom

    4 ай бұрын

    Welcome

  • @volodyslove
    @volodyslove10 ай бұрын

    like your elaborate explanation! You're very cool😁

  • @Codemycom

    @Codemycom

    10 ай бұрын

    Thanks!

  • @Harduex
    @Harduex4 ай бұрын

    Very good explained!

  • @Codemycom

    @Codemycom

    4 ай бұрын

    thanks

  • @jaafaroromaphis6440
    @jaafaroromaphis64407 ай бұрын

    God bless you your the men 🎉🎉🎉🎉🎉

  • @Codemycom

    @Codemycom

    7 ай бұрын

    Thanks!

  • @DipeshKumarSingh
    @DipeshKumarSinghАй бұрын

    Thank you so much for the video. Is Seq2Seq models also covered in the course. Is it on codemy ?

  • @WorldScience24
    @WorldScience243 ай бұрын

    Great work 👍

  • @Codemycom

    @Codemycom

    3 ай бұрын

    Thanks

  • @sarbasmetehan9267
    @sarbasmetehan9267Ай бұрын

    Yoo mr. white teach me ai.....

  • @Codemycom

    @Codemycom

    Ай бұрын

    Ha

  • @infinitylogic_ahmed
    @infinitylogic_ahmed2 ай бұрын

    THANK YOU

  • @Codemycom

    @Codemycom

    2 ай бұрын

    Welcome!

  • @jinanren2026
    @jinanren20266 ай бұрын

    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!

  • @FarhanKhan-kt5es
    @FarhanKhan-kt5es2 ай бұрын

    will it not be easy if you use sequential API instead of functional API

  • @user-zi2xu6mx8o
    @user-zi2xu6mx8o3 ай бұрын

    super great

  • @Codemycom

    @Codemycom

    3 ай бұрын

    Thanks!

  • @balunatarajan
    @balunatarajanАй бұрын

    thanks

  • @Codemycom

    @Codemycom

    Ай бұрын

    Welcome

  • @abd5184
    @abd51844 ай бұрын

    I love you man

  • @Codemycom

    @Codemycom

    4 ай бұрын

    🙂

  • @gadmuhirwa5226
    @gadmuhirwa52265 ай бұрын

    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-gs9nx5 ай бұрын

    you re like icenberg anyways thx for the course

  • @StaderaN01827826412481
    @StaderaN018278264124816 ай бұрын

    Loud and clear.

  • @Codemycom

    @Codemycom

    6 ай бұрын

    thanks

  • @gadmuhirwa5226
    @gadmuhirwa52265 ай бұрын

    but the name Model was already defined as Class model @all

  • @Codemycom

    @Codemycom

    5 ай бұрын

    Sounds like you forgot to import nn

  • @gadmuhirwa5226
    @gadmuhirwa52265 ай бұрын

    why they are giving such Error: NameError: name 'Model' is not defined

  • @Codemycom

    @Codemycom

    5 ай бұрын

    Sounds like you forgot to import nn

  • @gadmuhirwa5226

    @gadmuhirwa5226

    5 ай бұрын

    Thanks for reply@@Codemycom its already imported: import torch.nn as nn import torch.nn.functional as F

  • @onyxtechnologyx
    @onyxtechnologyx11 ай бұрын

    First viewer

  • @Codemycom

    @Codemycom

    11 ай бұрын

    Nice!

  • @TweetyStickFigure
    @TweetyStickFigure8 ай бұрын

    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
    @pikadroo8 ай бұрын

    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

    8 ай бұрын

    lol