Image Generation using GANs | Deep Learning with PyTorch (6/6)

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

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

  • @IndrainKorea
    @IndrainKorea 3 года назад +18

    Fantastic courses, I followed all the lessons from 1 to 6.
    I also really like the way you explain things, from the concept, program, function explanation, coding structures, etc.
    It's easy to follow and understand. Thanks a lot man, this really helps me a ton!! 👍👍

    • @zzzz-bf1qc
      @zzzz-bf1qc Год назад

      can you tell me about the hardware requiremnts to run this project?

  • @Stefan_2117
    @Stefan_2117 26 дней назад

    Best free playlist on RUclips for Deep Learning with Pytorch for beginners. I wish I could find your channel earlier. Time to try your NLP playlist and then Data Science Playlist too!

  • @aflah7572
    @aflah7572 3 года назад +8

    Had to comment, man love the work! I got a habit of reading blogs and research papers and awesome job overall. Looking forward to more such courses in the future

  • @anonymousperson9757
    @anonymousperson9757 Год назад +2

    Probably one of the best videos I've seen on training GANs ❤ Keep up the good work and I hope to see more videos from you guys in the future!

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

      Thanks! Glad you liked the video. For more free content go to jovian.com/learn

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

    Thank You Very much Aakash Bhai, good knowledge great efforts selfless service! I wish, you get millions of subscribers and great communities of programmers out of Bharat.

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

      Thank you so much!

  • @nayansaxena4592
    @nayansaxena4592 9 месяцев назад +1

    Is it enough to learn basics of GAN or do I need to learn more?? And can you share some sources

  • @canernm
    @canernm 3 года назад +4

    Hi, thanks for the video. Quick question: in the custom dataset class, in the getitem method, why do we use the transforms? Is it because when we iterate over batches in the training, internally the getitem is invoked, so we want the images that we get to be transformed?
    edit: The mentioned class is at 1:33:03. Thanks!

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

    very effective learning platform

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

    thankyou for this wonderful explanation

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

    Hey Aakash, Thanks for this course. I have completed zero to pandas and zero to gbms as well prior to this one along with a couple of projects for all three of them. Can you guide me to the next series of courses/skills I should be doing/learning for a career in data analytics? (Other than your Bootcamp) I will be grateful

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

      Hey, this is not Aakash, but I can give you some suggestions.
      You can start by applying for internships/jobs and prepare for data science interviews if you looking to get a job in this field. When you apply for jobs, the job requires some skills, make a list of the most important skills asked by most of the jobs you are applying for and start studying all of them one by one. Here are a few suggestions for the next things you should learn: SQL, Excel, BI tools like tableau or power BI, Statistics, NLP & more projects on ML/DL. You can also participate in Kaggle competitions.

  • @polarfoxbrrr3910
    @polarfoxbrrr3910 3 года назад +1

    Thank you very much for the course @Jovian @aakashns /bow =)

  • @shubhamvishwakarma2804
    @shubhamvishwakarma2804 3 года назад +1

    Thank you man! Thank you for your help

    • @jovianhq
      @jovianhq  3 года назад

      Glad you like our course!

  • @sayeef1436
    @sayeef1436 Месяц назад

    ossavabik video

  • @AishaMehra-v1w
    @AishaMehra-v1w Год назад

    I want to generate bank document data that can have tabular data as well as form data through GAN. What strategy can I follow for data preparation and in what format should I send the send the input to the generator so that it can generate accuarate images with correct textual information.

  • @Jaskaransingh-ve4mb
    @Jaskaransingh-ve4mb 2 года назад +1

    Wonderful course

  • @saicharanmarrivada5077
    @saicharanmarrivada5077 3 года назад

    Excellent tutorial on GANs

    • @jovianhq
      @jovianhq  3 года назад

      Glad you liked it

  • @chetansinghrawat2394
    @chetansinghrawat2394 5 месяцев назад

    in this project can we useany dataset?

  • @raj-nq8ke
    @raj-nq8ke 2 года назад

    Very good. Thanks for the video.

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

      Glad you liked it!

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

    i need each generated image individually in a file, how to do that ? ... i do not want the generated images as a batch image.... please help.

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

    i am trying to run the code in pycharm so how to load the images locally

  • @zzzz-bf1qc
    @zzzz-bf1qc Год назад

    can anyone tell me about the hardware requirements for text to image generation using GAN project

  • @kanzaAali
    @kanzaAali 3 года назад

    Can you please share the direct link of Layer visualization lessons of your channel.
    Thank you so much for the tutorial.

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

    Can i generate frontal face of human by folllowing this code?

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

    sir in this code is used for synthetic image generation using conditional GAN

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

    Great work thank you. But what if my dataset is small (around 5k) , will the anime code work for me?

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

      Yes, it will work with any datasets, but you might have have to do some minor modifications.

  • @momfadda
    @momfadda 3 года назад +1

    why the output images not individually? I mean the output every time is one image contains small images, Why ??

    • @jovianhq
      @jovianhq  3 года назад

      It's because the data is organized in that way, you can try to modify the code so that you get one image at a time.

    • @159_vivekpatel5
      @159_vivekpatel5 2 года назад +1

      Did you find out how to generate one image at a time?

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

      @@159_vivekpatel5 i did it dear friends: colab.research.google.com/drive/11VWZ-_sykTUQ9KPrzFqGTM5f-CDXo6TV#scrollTo=VvGLvkVJWcJP

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

    is a 3D reconstruction from a 2D image?

  • @jdragon8184
    @jdragon8184 3 года назад +1

    after all this 6 lectures where i stand what can i write on resune ??

    • @jovianhq
      @jovianhq  3 года назад +1

      Well now you have a basic knowledge on Deep Learning, GAN's and you can dive deep into these fields with these basic knowledges, try creating more projects add those in your resume, remember this field is vast so never stop learning.

    • @jdragon8184
      @jdragon8184 3 года назад +1

      @@jovianhq thanks alot for this course, i wouldn't had found this new passion

    • @teddybest02
      @teddybest02 3 года назад

      @@jovianhq how can i save all last epoch generated 512x512 images to an output folder ?

    • @muhammadwaqar4374
      @muhammadwaqar4374 3 года назад

      @@jovianhq What is the type of GAN's used in this example? As you know that there are different type of GAN's e.g. Conditional GANs (cGANs)

  • @sharangkulkarni1759
    @sharangkulkarni1759 Месяц назад

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

    @jovianhq I am getting the bellow error - "Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same" at save_samples(0,fixed_latent) function. what should i do ?

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

      You have to add .to(device) at the end of your generator and discriminator function. The example below shows the final code for the generator function.
      generator = nn.Sequential(
      # in: latent_size x 1 x 1
      nn.ConvTranspose2d(latent_size, 512, kernel_size=4, stride=1, padding=0, bias=False),
      nn.BatchNorm2d(512),
      nn.ReLU(True),
      # out: 512 x 4 x 4

      nn.ConvTranspose2d(512, 256, kernel_size=4, stride=2, padding=1, bias=False),
      nn.BatchNorm2d(256),
      nn.ReLU(True),
      # out: 256 x 8 x 8

      nn.ConvTranspose2d(256, 128, kernel_size=4, stride=2, padding=1, bias=False),
      nn.BatchNorm2d(128),
      nn.ReLU(True),
      # out: 128 x 16 x 16

      nn.ConvTranspose2d(128, 64, kernel_size=4, stride=2, padding=1, bias=False),
      nn.BatchNorm2d(64),
      nn.ReLU(True),
      # out: 64 x 32 x 32

      nn.ConvTranspose2d(64, 3, kernel_size=4, stride=2, padding=1, bias=False),
      nn.Tanh()
      # out: 3 x 64 x 64
      ).to(device)
      Now that the output from the generator function is on GPU, you need to convert it back to CPU for it to be displayed by pyplot. This is done by adding images = images.cpu() in the show_images() function shown below
      def show_images(images, nmax=64):
      fig, ax = plt.subplots(figsize=(8, 8))
      ax.set_xticks([])
      ax.set_yticks([])
      images = images.cpu()
      ax.imshow(make_grid(denorm(images.detach()[:nmax]), nrow=8).permute(1, 2, 0))

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

    @Jovian why is real target torch.ones.(real_iamges.size(0))?? thta will create a matric of all ones of size the same as real_image. how can matrix of all 1s be treated as real target. it has to be really a real target meaning an anime image vector . isn'it like that ?

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

      It's just a starting point, an image is made from pixels. An image in digital terms is a matrix of 0's and 1's or 0-1. Initially, we are assuming all pixels as 1, now using machine learning you'll have to reduce the loss to reach the target.

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

    "Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor" - for the last line history = fit(epochs, lr)
    I am getting this error. Both discriminator and generator were sent to gpu.

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

      i am also getting the same error! what should i do here?