How to train your own AI image models without breaking the bank

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • Learn from Principal Systems Designer at GitHub, Maxime De Greve, about the techniques and easy-to-use tools that I've used to train my own avatar AI model without requiring expensive hardware. Through an easy-to-follow walkthrough, the talk aims to empower attendees to leverage AI and train models with their own objects, faces, or styles.
    We are never going to replace the work of our illustrators or augment it away with AI. There really is no substitute for the creative problem solving and human touch that goes into a bespoke illustration. However, we are interested in how AI might quickly test and validate ideas as a brainstorming partner and how it could act as another tool to help expand the talents of our human artists.
    0:00 - Intro
    0:15 - About me
    1:03 - Introduction into AI
    2:53 - Examples of generative images
    3:55 - Generative models
    5:21 - Cost of training generative models from scratch
    6:46 - Fine-tuning models
    8:05 - Should I fine-tune a model?
    11:25 - Fine-tune your own model (Tutorial)
    20:16 - Touching up your images using AI
    27:10 - Outro
    #GitHub #AI #Innovation
    Stay up-to-date on all things GitHub by subscribing and following us at:
    TH-cam: bit.ly/subgithub
    Blog: github.blog
    Twitter: / github
    LinkedIn: / github
    Instagram: / github
    TikTok: / github
    Facebook:
    About GitHub
    It’s where over 100 million developers create, share, and ship the best code possible. It’s a place for anyone, from anywhere, to build anything-it’s where the world builds software. github.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 51

  • @sagarjani8760
    @sagarjani8760 9 หลายเดือนก่อน +42

    You didn't mention how you uploaded the images for training the model, lets say I want to train the model on my pet, I thought that was the whole point of this video.

    • @lovescent46
      @lovescent46 5 หลายเดือนก่อน +8

      right? wtf

    • @transnegroid
      @transnegroid 5 หลายเดือนก่อน +1

      i can’t believe this clickbait useless content is on github official channel

    • @flytyme
      @flytyme 3 หลายเดือนก่อน +1

      I actually thought that I had missed this part so I watched the video a second time. I didn't see/hear it mentioned.

    • @Keksent
      @Keksent หลายเดือนก่อน +1

      Idk how this video is recommended at all, it should have been 20 seconds long

  • @___chebz___
    @___chebz___ ปีที่แล้ว +3

    definitely coming back to this

  • @craigstewart1655
    @craigstewart1655 6 หลายเดือนก่อน +1

    Thanks. Can’t wait to try some of these techniques.

  • @SK-gi3gf
    @SK-gi3gf 5 หลายเดือนก่อน +1

    Brillaint video... really clear and clarifies a lot of information

  • @CubeX-tw3wr
    @CubeX-tw3wr 10 หลายเดือนก่อน +2

    Bro, this helps me sooo much!!❤ Thank you so much ❗

  • @dimitrishow_D
    @dimitrishow_D ปีที่แล้ว +2

    Thnx i was looking for a way to train ai with my own cartoon characters and now i can work so much faster❤

  • @TimParker
    @TimParker ปีที่แล้ว +4

    Great talk, Maxime!

  • @bulelanibotman
    @bulelanibotman ปีที่แล้ว +6

    this was an awesome demo! i am definitely doing this, thank you!

  • @MaahiPlayzOfficial
    @MaahiPlayzOfficial 9 หลายเดือนก่อน +1

    thank you and helped alot ! RESPECT

  • @frontforumfocus
    @frontforumfocus ปีที่แล้ว +4

    this is awesome

  • @user-yx8xw2zh8c
    @user-yx8xw2zh8c ปีที่แล้ว +3

    I have this error when trying to generate images in Stable Diffusion locally:
    Error: Could not load the stable-diffusion model! Reason: Unknown model! No config file path specified in context.model_configs for the "stable-diffusion" model!
    I read somewhere that yaml file is missing. Where can I find it?

  • @jords8299
    @jords8299 5 หลายเดือนก่อน +6

    I think the last part "testing the model" dont work anymore...

  • @TechNbags
    @TechNbags 9 หลายเดือนก่อน +4

    Thanks a lot, works really well but google collab keeps disconnecting after 1 or 2 generation of image telling that you can't use it for this. Can you run the code on your local computer ? If yes, How ? Thanks

  • @_ped_
    @_ped_ ปีที่แล้ว +1

    Legend!

  • @user-lq9qs7dr8e
    @user-lq9qs7dr8e 7 หลายเดือนก่อน +1

    Thanks!

  • @MongeyMongey
    @MongeyMongey 11 หลายเดือนก่อน +2

    I have a question for those who where able to do it, is there a way to have the same gradio interface in hugging face with the same amount of options and sliders etc., when I uploaded my model it is just a simple text input with no sliders or any way to change the batch size, width,etc.

  • @eyalron709
    @eyalron709 4 หลายเดือนก่อน +1

    Awesome video! one thing I haven't figured out: at what point and how do you feed you prepared images to the training / fine-tuning session?

  • @KiraBue
    @KiraBue 11 หลายเดือนก่อน +2

    Anyone have an idea why mine is running very slow or stops at a certain point while running the cell after cell?

  • @do7solutions
    @do7solutions 5 หลายเดือนก่อน +1

    Thanks

  • @PaulFishwick
    @PaulFishwick 10 หลายเดือนก่อน +6

    Where do you put your images ? I didn’t see in the Colab notebook.

    • @TechNbags
      @TechNbags 9 หลายเดือนก่อน +2

      you run the cell "Instance Images" by clicking on the play button then there is a button to select your images on your computer

    • @radactivi
      @radactivi 6 หลายเดือนก่อน

      @@TechNbags i get an error about wget:
      ModuleNotFoundError Traceback (most recent call last)
      in ()
      6 import ipywidgets as widgets
      7 from io import BytesIO
      ----> 8 import wget
      9
      10 with capture.capture_output() as cap:
      ModuleNotFoundError: No module named 'wget'

  • @askhataubakirov9370
    @askhataubakirov9370 7 หลายเดือนก่อน

    how can I use this code locally? To connect to my local paths with files, not google drive? Experiencing disconnections that don't let me finish execution of code blocks

  • @akshay2012rdts
    @akshay2012rdts 11 หลายเดือนก่อน +1

    Any videos on how to train text to video model ? Any help is appreciated. Thank you !

  • @aman_design
    @aman_design 5 หลายเดือนก่อน +1

    00:04 Learn to train AI image models on a budget
    02:19 Stable diffusion is an open source model for generating diverse and high quality samples.
    04:56 AI image models are expensive to train due to infrastructure costs.
    07:23 Training AI models for specific styles or subjects
    10:12 Training your own AI image models is necessary for specific objects or mascots.
    13:14 Using Google collab for AI training with strong GPU access.
    15:53 Training AI image models with a small dataset
    18:05 Training your own AI image models improves results
    20:22 Using in painting to improve generated images
    22:30 AI image models need manual touch-ups for best results
    24:43 Training AI image models for diverse collections of people and avatars

  • @kroanosm617
    @kroanosm617 5 หลายเดือนก่อน

    I want to create a model for text to image for fighting poses.
    Is there a way to rent space in the cloud to train a model?

  • @user-nv5ft7mf6g
    @user-nv5ft7mf6g 9 หลายเดือนก่อน

    hi I am facing this issue: from pyngrok import ngrok, conf, kindly let me know how to solve it

  • @crisicleop4783
    @crisicleop4783 10 หลายเดือนก่อน

    i didnt got it how to use this google colab thing, in end saud "something went wrong" and i have no idea why...i tried all you showed and said in the video, but for someone who has no idea bout all this, its not detailed enought :(

  • @parcescumihai5574
    @parcescumihai5574 11 หลายเดือนก่อน +1

    After a few minutes of playing with my models I always get a "Connection errored out." message in the test web page. Is this because I am not paying for google colab or some other thing I am missing ?

    • @TechNbags
      @TechNbags 9 หลายเดือนก่อน

      I have the same and I'm wondering if it's the same, did you find a solution ?

  • @Jack2511
    @Jack2511 5 หลายเดือนก่อน

    Wanted to see you make ground truths for your images.

  • @SnakeTheCowboy
    @SnakeTheCowboy 5 หลายเดือนก่อน

    Missing a lot of steppes, especially how to do basic operations with images. I've encountered at least 3 issues on that, which seems not letting me to go further & seems b'coz of that I don't have things like shown in step 10 & step 11. Also every time I'm clicking "play" on any cell it prompting google login window again & again even if I logged in & allowed/permitted everything through it. I would rly like to have detailed video about step by step setup with deep explanation on every step instead of introduction of what popular AI platforms are. I would like to get video about how to set all this stuff on own PC & use own hardware/GPU(S).

  • @user-xv7hr1wy9z
    @user-xv7hr1wy9z 3 หลายเดือนก่อน +1

    cannot run "TEST THE MODEL"

  • @DrayNoR1
    @DrayNoR1 5 หลายเดือนก่อน

    links?

  • @Nata_Hari
    @Nata_Hari 4 หลายเดือนก่อน +1

    Model Download fails with a ModuleNotFoundError

  • @Mista_Paaarka
    @Mista_Paaarka 10 หลายเดือนก่อน

    😎💙🙏🏽

  • @sprintoaii
    @sprintoaii 4 หลายเดือนก่อน

    Thank you so much! this is what i pay my internet bills for

  • @Festivejelly
    @Festivejelly ปีที่แล้ว +4

    Its ChatGPT mate. Not GTP.

    • @theboy7440
      @theboy7440 ปีที่แล้ว

      i also notice that

    • @maximedegreve5826
      @maximedegreve5826 ปีที่แล้ว +2

      I had one job: reading it off the slide.

    • @gregdee9085
      @gregdee9085 7 หลายเดือนก่อน

      many humans do this ..mate.. it's called dyslexia, many suffer mild forms. even in hearing.. imagine if you hear rhythm reversed sporadically.. id' show up as spastic dancing.. thus the term "white ppl can't dance".. it afflicts that demographic, just a tiny example.

  • @RSV9
    @RSV9 3 หลายเดือนก่อน +1

    Did you manage to do it ?
    I give you 10 seconds to answer.

  • @filthypirate
    @filthypirate 3 หลายเดือนก่อน

    Thank you so much