HW_GAN


This requires you to write a 2D GAN game. I let you to get into the topic yourself, whitout any explonations from my side. You can watch lecture, seminar, read papers and tutorials (fun, fun, fun).

Homework

I want you to implement a simple 2D GAN game. The kind of animation, I want to see is like in this video at 15:30 or in here but in 2D. You can google, search code at github, whatever, but the network should be based on Theano.

Basically you will need to come up with true distribution $P$, say mixture of gaussians (surprise me), sample some data from it. Visualize it as a heatmap. To visualize $G$ density you can fix $N$ noise vectors $\{z_i\} \quad i=1,\dots, N$ and draw a circle for each $G(z_i)$. It is also funny to visualize discriminator as a vector field (can be done with plt.arrow, `plt.quiver plo). Look how it should be in the middle of this page.

Please, make sure your code works if 'Run All' is pressed and it draws some animation.

Good luck!