This shows you the differences between two versions of the page.
cs501r_f2017:lab7 [2017/10/24 20:35] wingated |
cs501r_f2017:lab7 [2021/06/30 23:42] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ====Objective:==== | ||
- | |||
- | To learn about deconvolutions, variable sharing, trainable variables, | ||
- | and generative adversarial models. | ||
- | |||
- | ---- | ||
- | ====Deliverable:==== | ||
- | |||
- | {{ :cs501r_f2017:faces_samples.png?direct&200|}} | ||
- | |||
- | For this lab, you will need to implement a generative adversarial | ||
- | network (GAN). | ||
- | Specifically, we will be using the technique outlined in the paper [[https://arxiv.org/pdf/1704.00028|Improved Training of Wasserstein GANs]]. | ||
- | |||
- | You should turn in an iPython notebook that shows a two plots. The first plot should be random samples from the final generator. The second should show interpolation between two faces by interpolating in ''z'' space. | ||
- | |||
- | You must also turn in your code, but your code does not need to be in a notebook, if it's easier to turn it in separately (but please zip your code and notebook together in a single zip file). | ||
- | |||
- | **NOTE:** this lab is complex. Please read through **the entire | ||
- | spec** before diving in. | ||
- | |||
- | {{ :cs501r_f2017:faces_interpolate.png?direct&200|}} | ||
- | |||
- | ---- | ||
- | ====Grading standards:==== | ||
- | |||
- | Your code/image will be graded on the following: | ||
- | |||
- | * 20% Correct implementation of discriminator | ||
- | * 20% Correct implementation of generator | ||
- | * 50% Correct implementation of training algorithm | ||
- | * 10% Tidy and legible final image | ||
- | |||
- | ---- | ||
- | ====Dataset:==== | ||
- | |||
- | The dataset you will be using is the [[http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html|"celebA" dataset]], a set of 202,599 face images of celebrities. Each image is 178x218. You should download the "aligned and cropped" version of the dataset. [[https://www.dropbox.com/sh/8oqt9vytwxb3s4r/AADSNUu0bseoCKuxuI5ZeTl1a/Img?dl=0&preview=img_align_celeba.zip|Here is a direct download link (1.4G)]], and | ||
- | [[https://www.dropbox.com/sh/8oqt9vytwxb3s4r/AAB06FXaQRUNtjW9ntaoPGvCa?dl=0&preview=README.txt|here is additional information about the dataset]]. | ||
- | |||
- | ---- | ||
- | ====Description:==== | ||
- | |||
- | |||
- | This lab will help you develop several new tensorflow skills, as well | ||
- | as understand some best practices needed for building large models. | ||
- | In addition, we'll be able to create networks that generate neat images! | ||
- | |||
- | ==Part 0: Implement a generator network== | ||
- | |||
- | ==Part 1: Implement a discriminator network== | ||
- | |||
- | ==Part 2: Implement the Improved Wasserstein GAN training algorithm== | ||
- | |||
- | tf.gradients | ||
- | |||
- | |||