Lesson 2: Practical Deep Learning for Coders 2022

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 108

  • @Karen-ls7hv
    @Karen-ls7hv Год назад +115

    thank you for making AI education free and accessible 😊

    • @howardjeremyp
      @howardjeremyp  Год назад +59

      It's my pleasure

    • @nimbus1r
      @nimbus1r Год назад +17

      ❤ This course will have a ripple effect for an entire generation of programming

  • @saadorj
    @saadorj 2 года назад +39

    Thank you, Jeremy, and everyone involved in creating this great course. It only gets better with every new iteration!

  • @cojocarucosmin202
    @cojocarucosmin202 2 года назад +23

    Respect for giving out high quality information, you are the real deal and so few people actually know...

  • @mikementele
    @mikementele 6 месяцев назад

    I've taken many ML courses over the years and I love the hands on nature of this with Jupyter notebooks, the extra background provided with the book, the quizzes, and the top down approach that orients you on breadth before depth. This is done right from a pedagogy standpoint.

  • @palahnuk1
    @palahnuk1 Год назад +4

    Jeremy ... you are the real deal ... thanks for giving your personal time and energy to open the world of ML to mere mortals like us older engineers ... you are a real world blessing!

  • @prof.ravindravyas3035
    @prof.ravindravyas3035 2 месяца назад

    Dear Sir, Great Lecture and superb knowlege sharing session..............One thing I would like to quote is in start of lecture when speaker says " I am super excting to teach this lecture" .........students like me and others feel standing on race line and start running..........most enthusiastic teacher...........

  • @KiLVaiDeN
    @KiLVaiDeN 2 года назад +2

    This is very neat content, and your way of explaining those concepts is calm and posed, very enjoyable to watch ! Thank you.

  • @chuhaoliu5050
    @chuhaoliu5050 Год назад +1

    It's way more fun to learn by building something people can actually use!! Thanks a ton!

  • @chuhaoliu5050
    @chuhaoliu5050 Год назад +7

    Update for 2023. In Gradio deployment notebook, `intf.launch(inline=False)` needs to change to `intf.launch(inline=False,share=True)` to have the public web link.

  • @dmoneyballa
    @dmoneyballa 2 года назад +2

    Thank you so much for adding the commands for wsl to add the drivers on ubuntu. this is the most time consuming part for me when I setup a new computer. I really appreciate it.

  • @miskaknapek
    @miskaknapek 4 месяца назад

    Thanks for this video too!
    I very much appreciate the content and the enthusiastic pedagogical style

  • @hiankun
    @hiankun 2 года назад +3

    "And when I say one day, more specifically... today!" XD
    Today is a good day. 😀

  • @elvryn_
    @elvryn_ Год назад +1

    So fun hearing anecdotes of classifying images of a dog cat with your daughter

  • @AiEdgar
    @AiEdgar 2 года назад

    No fillers so much knowledge I wish all my teachers were this good.

  • @deeplearningexplained
    @deeplearningexplained 13 дней назад

    Very nice lecture and insane notebook skills haha

  • @zzznavarrete
    @zzznavarrete 6 месяцев назад +14

    Also, whoever is using Gradio's version 4.39 or above, the following is code is for the Gradio interface:
    # creating the gradio interface
    image = gr.Image(height=192, width=192)
    label = gr.Label()
    examples:list = ['./assets/dog.png', './assets/cat.png', './assets/dunno.png']
    intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
    intf.launch(inline=False)

  • @cullenharris1837
    @cullenharris1837 2 года назад +20

    Where can we find the notebook at 41:32 for Dogs v Cats on your local?

    • @hawperify
      @hawperify 2 года назад +3

      Also wondering this, having trouble following along that this section...

    • @paulmest
      @paulmest 2 года назад +1

      It was covered in Lesson 1. Check out the Resources section here: course.fast.ai/Lessons/lesson1.html

    • @bampy81
      @bampy81 2 года назад +1

      Got the same problem. It's the app.ipynb file that I can't find. Did you manage to find it?

    • @nostalgiccringeallhailchel3881
      @nostalgiccringeallhailchel3881 2 года назад

      @@paulmest where is it in the resources section?

    • @nostalgiccringeallhailchel3881
      @nostalgiccringeallhailchel3881 2 года назад

      @@bampy81 did you find it? if yes please lemme know

  • @ishitaraj7723
    @ishitaraj7723 3 месяца назад +1

    where is the notebook at 41:27 coming from?

  • @marktomm1959
    @marktomm1959 9 месяцев назад +4

    With gradio==4.28.3 the example code in the video won't work.
    error "module 'gradio' has no attribute 'inputs'"
    Fix:
    image = gr.Image(height=192, width = 192)
    label = gr.Label()

  • @jasonholtkamp8462
    @jasonholtkamp8462 2 года назад +6

    You know what's hilarious is that I actually read the book chapter before watching the lesson and I had the hardest time finding my Azure Bing API Key after I made my account and whatnot... It literally took me longer to just do that step than the entire rest of the lesson lol. And then Jeremy just goes yeah screw that I'm going to use duckduckgo instead haha.

  • @djstr0b3
    @djstr0b3 Год назад

    Thank you for the amazing videos Prof. Howard!

  • @ChrisLonsberry
    @ChrisLonsberry 2 года назад +2

    OMG, I'm so excited to see new updates to this course! EDIT: Is there somewhere that I can read about what has changed?

  • @miladrahimi3283
    @miladrahimi3283 Год назад +1

    This tutorials is really helpful, thanks so much. you are boosting my knowledge.

  • @JeffJohnston-l8x
    @JeffJohnston-l8x 2 месяца назад +1

    Where do I find the "Dog v Cats" Notebook shown at 41:27?

  • @DeepakKumarDataScience
    @DeepakKumarDataScience Год назад +4

    What is the repo used for this set of jupyter notebooks? The Fastbook directory seems to have the textbook version that uses Azure SDK keys whereas Jeremy refers to the DDG alternative. I am not able to find the right folder under the fast ai repos.

  • @arkadymarchenko1516
    @arkadymarchenko1516 6 месяцев назад +2

    Hi Jeremy, I love the education your giving through your videos and non-coding parts of your book but I often find you notebooks are pretty buggy and down work out of the box. The last notebook provided for lesson 1 (is it a bird) required me to import another image crawler to make it work. For this lesson, the ddg image search wasnt working properly as well and I had to make major modifications. I love everything you're doing but I would love if you updated this course to provided updated and working notebooks to make it seamless for people like me to learn deep learning

  • @slf188
    @slf188 2 года назад +1

    Great lecture! Jeremy is amazing at explaining such cryptic concepts

  • @sayan7s
    @sayan7s Год назад

    Jeremy thank you so much for all the effort. It means a lot ! Really appreciate

  • @estrellaum9480
    @estrellaum9480 2 года назад +6

    I need triple the time of the video to understand it, but I am getting there, thanks! By the way, the dog-cat thing apparently is a puppy...

  • @rahmanoff
    @rahmanoff Год назад

    Thanks Jeremy!
    p.s. if you try to go step by step and got error "module 'gradio' has no attribute 'inputs'", try gradio==3.48.
    It works well for me.

  • @aworden
    @aworden Год назад +3

    Where can we get the locally run notebook that you used to create the python script for the gradio app? Could this be run in Kaggle instead of locally and exported / downloaded? It makes it confusing that you're jumping from Kaggle to colab to local notebooks. Is that necessary?

  • @ashish31416
    @ashish31416 2 года назад +1

    Thank you for the amazing course.

  • @datalifenyc
    @datalifenyc 2 года назад +6

    49:12 Looking at the source code for nbdev.export, there is no `notebook2script` function. The closest in functionality appears to be `nb_export(nbname, lib_path = None)`. nbdev version: 2.0.6. Did anyone run into the same issue?

    • @datalifenyc
      @datalifenyc 2 года назад +6

      This video is probably referencing v1 of nbdev. For v2, you can use:
      # Bash Terminal
      nbdev_export --path "app.ipynb"
      or
      # Jupyter Notebook
      from nbdev import nbdev_export
      nbdev_export("app.ipynb")
      A `nbdev` folder is created with the `app.py` file in it.

    • @dingding4898
      @dingding4898 2 года назад

      anything to convert an existing project to nbdev?

  • @neild7457
    @neild7457 Год назад

    Thank you very much for this course :)

  • @enigmeta
    @enigmeta Год назад +3

    It seems that nbdev 2.0 works very differently, because the export doesn't work anymore. Is there a good tutorial on how to use the new version?

  • @AnibalCarpio
    @AnibalCarpio 2 года назад +2

    Where can I look for the notebook to lesson 2 using ddg method?, cause on the fastai book website still show the version using key and Microsoft Azure

  • @vikramsandu6054
    @vikramsandu6054 2 года назад

    Loved every bit of it. Thanks, jph00. ;)

  • @bhanutadepalli
    @bhanutadepalli 2 года назад +2

    56:57 curl doesnt have --no-progress-meter option. If you are setting up on mac remove that option from the command

  • @piecucci
    @piecucci 11 месяцев назад +1

    10:57 I was getting an error after running dls = bears.dataloaders(path) from the cells further fown in the notebook. I needed to change the quotations marks in the cell with bear_types for the variable path = Path("bears") (double quotation marks)... Took me some googling around to make it work!

    • @piecucci
      @piecucci 11 месяцев назад +1

      I've also needed deindent the for loop for the bear_types and remove the folders created before running the code again.
      if not path.exists():
      path.mkdir()
      for o in bear_types:
      dest = (path/o)
      dest.mkdir(exist_ok=True)
      download_images(dest, urls=search_images_ddg(f'{o} bear photo'))

    • @frankkranktrangtmohammedny807
      @frankkranktrangtmohammedny807 11 месяцев назад

      ​@@piecucci I had the exact same problem. Thanks for commenting this!🙏

  • @kophaihoang
    @kophaihoang Год назад +1

    The weird dog at 47:20 is "Chó Dúi" and he is from Vietnam, it is unlucky that he just passed away last year :(

  • @gregfaruch7886
    @gregfaruch7886 2 года назад

    Really cool !
    Thank you to share with us.

  • @gblazerify
    @gblazerify Год назад

    Great educational video!

  • @mikementele
    @mikementele 6 месяцев назад

    This course is amazing

  • @정민혁-f9v
    @정민혁-f9v Год назад

    I love your lecture! 😄

  • @33gbm
    @33gbm 5 месяцев назад +1

    Nice course. But you are always changing the references in the video, it would be nice to find the ipy notebooks you are working on in a single place.

  • @mamotivated
    @mamotivated 2 года назад +2

    @jeremy in the randomization/augmentation process in real-time in memory, does a single image and its variants all get included in a single batch? If they do, how does this affect the quality of the weight updates vs spreading some of the augemented images to other batches

  • @jonathangrant7788
    @jonathangrant7788 2 года назад +1

    You mention that the learner needs all the same functions it had in training. Is this due to using pickle? Can you just use cloudpickle instead and not provide the training environment?

  • @КсенияПак-ш6в
    @КсенияПак-ш6в 2 года назад

    Yes it can - don't despair!

  • @jordankuzmanovik5297
    @jordankuzmanovik5297 2 года назад +6

    Hi jeremy, as always great course. But what about practical deep learning from the foundation? I am waiting 2 years for those.
    Thanks

  • @shubh9207
    @shubh9207 8 месяцев назад

    Hello, is it fine to run Jupyter notebook on VS code instead of running it on a local browser?

  • @mistercakes
    @mistercakes Год назад

    thank you for the great content. do you recommend jupyter notebook over jupyter lab? (any reason, is nbdev supported in jupyter lab?)
    also you mention number of epochs recommended. it could be useful just to give a number on how many epochs were needed to do the original training on the model that we are fine tuning against to give some perspective.

  • @toromanow
    @toromanow Год назад

    It says fastpages is deprecated and one should use quattro instead. Thoughts?

  • @zzznavarrete
    @zzznavarrete 6 месяцев назад

    for those who are using windows and got the following error message: "NotImplementedError: cannot instantiate 'PosixPath' on your system", the fix is:
    import pathlib
    temp = pathlib.PosixPath
    pathlib.PosixPath = pathlib.WindowsPath

  • @mehnaazmohiuddin
    @mehnaazmohiuddin Год назад

    In the step of cleaning the data . Are we moving the files in the folder ? Do we have to have to create the model again?

  • @jimshtepa5423
    @jimshtepa5423 Год назад

    what does calling 'train' method on dls object do? does it show the images that are used to train the model? what does 'valid' method do?

  • @taitonium6262
    @taitonium6262 Год назад

    this is bery good thank you ;)

  • @JoelOrellana
    @JoelOrellana 11 месяцев назад

    so amazing classss

  • @juanmontero883
    @juanmontero883 2 года назад

    Thank you so much!

  • @davisisibor3509
    @davisisibor3509 8 месяцев назад

    Watching this last few sections of this video as a frontend developer . Was one of my best moments 😂😂😂😂.
    I skipped the entire thing 😂😂😂😂😂

  • @ericflynn5799
    @ericflynn5799 10 месяцев назад

    I'm running into an issue where the ImageClassifierCleaner is not working properly in a Kaggle notebook. Anyone else face a similar issue and know a solution?

    • @MyselfTheodore
      @MyselfTheodore 7 месяцев назад

      Re-running all the cells from the start fixed it for me

  • @derekcarday
    @derekcarday 2 года назад +2

    Is there a reason why you use windows? I've been working industry as a developer for 7 years now and have only seen one person use windows and they always had issues. Just curious if it's cuz microsoft now ships with linux kernel or if there's any benefits for deep learning.

    • @howardjeremyp
      @howardjeremyp  2 года назад +3

      I like being able to use a stylus directly on the screen. I use WSL (Linux) or SSH into a Linux server for nearly all my work though.

  • @mansamusa559
    @mansamusa559 2 года назад

    Love the course !! But I really recommend streamlit instead of gradio.. :D

  • @mindmusic369
    @mindmusic369 21 день назад

    my laptop has a .1 gb GPU hehe it takes around 10 minutes to scan but I still love doing it.

  • @nathanmcnaughton4468
    @nathanmcnaughton4468 2 года назад

    I created a hugging space faces page and created a new space called "minimal", selected apachie, radio, and public. Im on mac and copied the repo into the terminal. I then tried to do code . but it says "command not found: code" I am not sure what I did wrong.

    • @ladyblack679
      @ladyblack679 2 года назад +1

      I had the same issue
      First make sure you have downloaded Visual Studio Code
      Open Visual Studio Code
      Type Cmd+Shift+P and input '> shell command' and click Shell Command: Install 'code' command in PATH command.
      Restart your terminal
      In the terminal type in “cd minimal”
      Then input “code . "

    • @nostalgiccringeallhailchel3881
      @nostalgiccringeallhailchel3881 2 года назад

      uninstall and reinstall vscode. Sometimes the environment path get corrupted and the updates don't happen properly

    • @nigeljdean
      @nigeljdean Год назад

      I had the same issue. It worked straight after I had restarted the windows 11 PC

  • @priyanshutiwary9500
    @priyanshutiwary9500 Год назад

    how to study this course. does it only have 8 lectures ?

    • @howardjeremyp
      @howardjeremyp  Год назад

      No there's 25 lectures. Go to course.fast.ai/ .

  • @nostalgiccringeallhailchel3881
    @nostalgiccringeallhailchel3881 2 года назад

    btw that dog cat image is actually a puppy that looks like a cat

  • @chawaphiri1196
    @chawaphiri1196 3 месяца назад

    The dunno worked on my computer. it said 60% cat and 40% dog. it was just brilliant

  • @bhanutadepalli
    @bhanutadepalli 2 года назад

    mamba install jupyter notebook is required nbdev alone doesnt install jupyter on Mac

  • @oshanmodi
    @oshanmodi Год назад

    so cool

  • @wayneqwele8847
    @wayneqwele8847 2 года назад

    yo this is an amazing.

  • @JoshGodwinArt
    @JoshGodwinArt 2 года назад

    The one thing that didn't seem super clear to me is why he is doing everything in a Linux environment in the first place. Why not just install python and all the libraries on regular windows without that extra step of having to go to linux first.

  • @NotaUserIam
    @NotaUserIam Год назад

    Love the course but I do hate the way you code. I have spent way too much time figuring out which imports are giving me which function I’m using

    • @howardjeremyp
      @howardjeremyp  Год назад +3

      To find out what import provides a function, type the function name and hit shift-enter.

  • @bloody_albatross
    @bloody_albatross Год назад

    That dog-cat has an AI generated feel to me.

  • @tarshsingh4198
    @tarshsingh4198 Год назад

    43:32

  • @alecmorgan3541
    @alecmorgan3541 9 месяцев назад

    You wouldn't download 600 images of bears!

  • @shoelessone
    @shoelessone Год назад

    First, thanks for the great lesson, I really appreciate it!
    Second, any Magento developers get excited when the Magento logo came up? ruclips.net/video/F4tvM4Vb3A0/видео.html

  •  Год назад

    dog? pig? loaf of bread. SYSTEM ERROR

  • @vorandrew
    @vorandrew Год назад

    Thank you Jeremy, but we are programmers... 80% of time you spent on showing stuff we already know... git, jupiter etc... can you make 30 minute course with core concepts of fastai framework. What models when used etc...

  • @khuyendominh4032
    @khuyendominh4032 2 года назад

    it is a dog

  • @05me39
    @05me39 2 года назад +4

    6:57 Need to import widgets before using ImageClassifierCleaner
    from fastai.vision.widgets import *

  • @jimshtepa5423
    @jimshtepa5423 Год назад

    has anyone managed to solve 'NotImplementedError: The operator 'aten::_linalg_solve_ex.result' is not currently implemented for the MPS device. ' issue on macos m series?

    • @moritzsur997
      @moritzsur997 Год назад

      no but I have the same problem. I just did it in Google Colab.