Generating human faces from the CelebA dataset

The CelebFaces Attributes (CelebA, dataset is a large-scale face attributes dataset with more than 200,000 celebrity images, each with 40 attribute annotations. We need to download the cropped and aligned images. We won't need any attribute annotation here so we only need to download the file named, which is no more than 2 GB in size.

If you can't download the CelebA dataset from official links, try these links provided by Kaggle and the official PyTorch tutorial: and Note that you only need to download ...

Get Hands-On Generative Adversarial Networks with PyTorch 1.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.