Skip to Content
深度学习:核心原理与案例分析
book

深度学习:核心原理与案例分析

by Posts & Telecom Press, Ahmed Menshawy
May 2024
Intermediate to advanced
389 pages
6h 49m
Chinese
Packt Publishing
Content preview from 深度学习:核心原理与案例分析

第14章 生成对抗网络

生成对抗网络(Generative Adversarial Network,GAN)是一种由两个彼此对抗(因此有了名字中的对抗)的网络组成的深度神经网络结构。

2014年,Ian Goodfellow和包括Yoshua Benjio在内的其他研究人员在蒙特利尔大学的一篇论文“Generative Adversarial Networks”中介绍了GAN。提到GAN,Facebook的AI研究总裁Yann LeCun称对抗训练是机器学习过去十年中最有趣的想法。

GAN潜力巨大,因为它可以学习模仿任何的数据分布。也就是说,可以训练GAN在包括图像、音乐、语言和文本在内的任何领域中创造与我们类似的世界。从某种意义上说,它们是机器人艺术家,它们的输出令人印象深刻(见nytimes网站)同时也让人们受到鼓舞。

本章将主要包括以下几个主题。

  • 直观介绍。
  • GAN的简单实现。
  • 深度卷积GAN。

本节将会以非常直观的方式介绍生成对抗网络GAN。为了了解GAN是如何运作的,这里将采用一个获取活动门票的虚构场景。

故事从某个地方正在举行的非常有趣的活动开始,并且你很有兴趣参加。可你很晚才听说这个活动,所有门票都已售罄,但是你想方设法也要参加活动。所以你想出了一个主意。你想尝试伪造一张和原始门票完全相同或者非常相似的门票。但是生活并不是这么容易的,这里还有另一个挑战:你不知道原始门票是什么样的。因此,根据你参加此类活动的经验,你开始想象门票应该长什么样,并凭着想象开始设计门票。

你开始尝试设计门票,然后去参加活动并向保安人员出示门票,你希望他们能够相信你并且放你进去。但是你不想多次向保安人员展示你的面孔,所以你决定从朋友那里获取帮助,他们会带着你凭空设计的门票去参加聚会并向保安人员出示。如果保安人员不让他进去,他将会通过查看一些拿着真实门票入场的人,来获取一些关于门票外观的信息。你将会根据朋友的评论来调整门票,直到保安人员让他进去。此时,仅在此时,你将设计另一张完全相同的门票,然后自己拿着它入场。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

scikit-learn机器学习(第2版)

scikit-learn机器学习(第2版)

Posts & Telecom Press, Gavin Hackeling
自然语言处理与计算语言学

自然语言处理与计算语言学

Posts & Telecom Press, Bhargav Srinivasa-Desikan
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Python数据分析(第2版)

Python数据分析(第2版)

Posts & Telecom Press, Armando Fandango

Publisher Resources

ISBN: 9781836201212