Generative AI Models: Generating Data Using Generative Adversarial Networks

Dive into AI with Generative Adversarial Networks (GANs). Learn to use PyTorch for model creation and training, and Deep Convolutional GANs for image optimization.

  • Skill level

  • Time to complete

    Approx. 2 hours
  • Certificate of completion


About this course

Generative adversarial networks (GANs) represent a revolutionary approach to generative modeling within the realm of artificial intelligence. Begin this course by discovering GANs, including the basic architecture of a GAN, which involves two neural networks competing in a zero-sum game - the generator and the discriminator. Next, you will explore how to construct and train a GAN using the PyTorch framework to create and train the models. You will define the generator and discriminator separately, and then kick off the model training. Finally, you will focus the deep convolutional GAN, which uses deep convolutional neural networks (CNNs) rather than regular neural networks. CNNs are optimized for working with grid-like data, such as images and these can generate better-quality images than GANs built using dense neural networks. In conclusion, this course will provide you with a strong understanding of generative adversarial networks, their architecture, and their usage scenarios.

Learning objectives

  • Discover the key concepts covered in this course
  • Recall how gans work
  • Describe the architecture of gans

How it works

Expert-led videos

In this course, you'll watch videos created by industry-leading experts for some of the biggest tech companies in the world. They'll cover key concepts, go through sample applications, prepare you for industry certifications, and more. Watch on any device — whenever and wherever you want — to learn at your own pace.

Generative AI Models: Generating Data Using Generative Adversarial Networks course reviews

  • Very well put together as usual. I learn so much from each experience with Codecademy. I can't explain how satisfied I am with this institution.
    David W
    Verified Learner
  • Everything Codecademy offers is useful for all software developers.
    Fidan M
    Verified Learner
  • I thought that I would never be able to learn to code but Codecademy has made it very easy. I just love it!
    Adyan H
    Verified Learner

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

You've Heard of Generative AI, But What Else Is Out There? 

Jacob Johnson
Nov 9, 2023

In the past year, our understanding of AI has increased as programs like ChatGPT, DALL-E, and Midjourney have become ubiquitous tools in our daily lives. These programs all fall under the same category of generative AI, a type of AI that excels at synthesizing new text and media content. But AI can do much more than generate content, and it’s worth exploring and familiarizing yourself with the technology’s full range of possibilities. 

Before we get into the different types of AI, it helps to define what AI is. People often use AI as an umbrella term to describe many different techniques, says Nitya Mandyam, Codecademy Senior Curriculum Developer. (Fun fact: Along with creating a ton of our data science courses and content, Nitya’s also pursuing a postgraduate degree in AI Ethics.)  

“AI is an interesting field because it’s kind of defined by the end goal, which is achieving human or superhuman intelligence, rather than what it actually is,” Nitya says. “Curiously, this lack of a precise universally accepted definition has probably helped the field grow and blossom.” Simply put, AI refers to intentionally constructed systems that actively interact with the world and are usually guided by large data models.

Early AI systems were inspired by mathematical logic and sought to mimic conscious thought processes through rules. (For example, in the late 90s, IBM built a chess-playing commputer called Deep Blue that was able to beat a grandmaster in chess.) Today, the many different types of AI that we encounter are much more sophisticated, in part because our understanding of human intelligence is more in-depth, Nitya explains. 

While its roots go back decades, modern AI really accelerated in the last few years. As AI advances and seeps into technology we use, the lines between different types of AI can be hard to distinguish. Ahead, Nitya breaks down the various categories of AI that you might come across and key differences that you should know about each. 

Continue reading

Join over 50 million learners and start Generative AI Models: Generating Data Using Generative Adversarial Networks today!


Unlock additional features with a paid plan

  • Portfolio projects

    Create professional projects you can share with recruiters to showcase your skills and experience.
  • Job-readiness checker

    Evaluate how well you meet the requirements for any job description based on your skills and experience.
  • Certificate of completion

    Earn a document you can share with your network to prove that you’ve completed this course.