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

Поділитися
Вставка
  • Опубліковано 2 чер 2024
  • 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  Рік тому

    ▶ Watch Deep Learning With Pytorch Playlist ✅ Subscribe To My UA-cam 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 6 місяців тому +1

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

  • @iKostanCom
    @iKostanCom Рік тому +6

    Nice and simple, thanks for your effort here.

  • @sarbasmetehan9267
    @sarbasmetehan9267 2 місяці тому +1

    Thank you, the entire playlist was incredible...

    • @Codemycom
      @Codemycom  2 місяці тому

      Glad you enjoyed it!

  • @tenzinnamdhak
    @tenzinnamdhak 5 місяців тому +1

    wow.. explanation is great and to the point if you are watching the steps in the neural network for sometime.

    • @Codemycom
      @Codemycom  5 місяців тому

      Glad you enjoyed it!

  • @fangjingzhang7993
    @fangjingzhang7993 9 місяців тому +3

    Very useful tutorial! Thank you

  • @bernardkamau1686
    @bernardkamau1686 Рік тому +3

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

  • @truelove-tr7mg
    @truelove-tr7mg Місяць тому +1

    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 26 днів тому

    You're an awesome teacher!

  • @kevinkawchak
    @kevinkawchak 8 місяців тому

    Thank you for the discussion.

  • @codelock69
    @codelock69 5 місяців тому

    Thank you for the awesome tutorials

  • @markmagumba6801
    @markmagumba6801 7 місяців тому

    I like that you don't edit out the errors

  • @volodyslove
    @volodyslove 11 місяців тому

    like your elaborate explanation! You're very cool😁

  • @DipeshKumarSingh
    @DipeshKumarSingh 2 місяці тому

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

  • @Harduex
    @Harduex 5 місяців тому

    Very good explained!

  • @WorldScience24
    @WorldScience24 3 місяці тому

    Great work 👍

  • @piergiorgiocianciullo6784
    @piergiorgiocianciullo6784 11 днів тому

    Thanks man! 👌🏻✌🏻

  • @sarbasmetehan9267
    @sarbasmetehan9267 2 місяці тому +6

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

  • @FarhanKhan-kt5es
    @FarhanKhan-kt5es 3 місяці тому

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

  • @infinitylogic_ahmed
    @infinitylogic_ahmed 3 місяці тому

    THANK YOU

  • @jaafaroromaphis6440
    @jaafaroromaphis6440 8 місяців тому

    God bless you your the men 🎉🎉🎉🎉🎉

  • @user-zi2xu6mx8o
    @user-zi2xu6mx8o 3 місяці тому

    super great

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

  • @doords
    @doords 14 днів тому

    Why is linear model the best for this, and how do you decide how many layers of hidden neurons.

  • @abd5184
    @abd5184 5 місяців тому

    I love you man

  • @balunatarajan
    @balunatarajan Місяць тому

    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  6 місяців тому

      Did you define the class and hit shift+enter to run the cell, after importing nn?

  • @YassineSaidani-gs9nx
    @YassineSaidani-gs9nx 6 місяців тому

    you re like icenberg
    anyways thx for the course

  • @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  6 місяців тому

      Sounds like you forgot to import nn

  • @StaderaN01827826412481
    @StaderaN01827826412481 7 місяців тому

    Loud and clear.

  • @onyxtechnologyx
    @onyxtechnologyx Рік тому

    First viewer

  • @TweetyStickFigure
    @TweetyStickFigure 9 місяців тому

    model = Model isn't working

    • @Codemycom
      @Codemycom  9 місяців тому

      You did something differently from the video...what?

    • @TweetyStickFigure
      @TweetyStickFigure 9 місяців тому +2

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