AI & ML Atlas
Deep LearningarchitectureAnimated walkthrough
StyleGAN
A GAN that controls an image through "style" inputs at every layer.
The idea
A mapping network turns the latent code into a style vector that modulates each layer of the generator (adaptive instance normalisation, later weight demodulation). Coarse layers set pose and shape, fine layers set texture and colour, and extra noise adds small random detail. This gives high-quality faces and meaningful control.
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Map the latent code z to an intermediate style vector w.
- 2Start the generator from a learnt constant.
- 3At each resolution apply w as a style to the features.
- 4Add per-layer noise for fine detail.
- 5Train adversarially against a discriminator.
1/5
Step by step
- 1Map the latent code z to an intermediate style vector w.
- 2Start the generator from a learnt constant.
- 3At each resolution apply w as a style to the features.
- 4Add per-layer noise for fine detail.
- 5Train adversarially against a discriminator.
Where it is used
Photorealistic faces, editing and interpolation.
Watch out for
Heavy training cost and misuse risks such as deepfakes.