Editing
Generative Adversarial Networks
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Creating</span> == Designing a GAN-based image synthesis system: '''1. Architecture selection by task''' <syntaxhighlight lang="text"> Task classification: βββ Unconditional image synthesis β StyleGAN3 βββ Class-conditional generation β BigGAN, StyleGAN-XL βββ Text-to-image (GAN-based) β GigaGAN βββ Paired image translation β Pix2Pix (paired data) βββ Unpaired image translation β CycleGAN (no paired data) βββ Super resolution β ESRGAN βββ Video generation β MoCoGAN, DIGAN </syntaxhighlight> '''2. Training stabilization recipe (for custom GAN)''' * Use WGAN-GP or StyleGAN's R1 gradient penalty loss * Spectral normalization on discriminator weights * LeakyReLU (0.2) in discriminator; ReLU in generator * Adam optimizer with Ξ²1=0.5, Ξ²2=0.999; learning rate 1e-4 to 2e-4 * Exponential moving average (EMA) of generator weights for smoother evaluation * Progressive growing or batch size ramp-up for high-resolution targets '''3. Data preparation''' <syntaxhighlight lang="text"> Collect dataset (minimum 10k images; 100k+ for high quality) β Crop + align (for face generation: align to landmarks) β Resize to target resolution (power of 2: 64, 128, 256, 512, 1024) β Normalize to [-1, 1] (matches Tanh output activation) β [Optional] ADA (Adaptive Discriminator Augmentation) for small datasets </syntaxhighlight> '''4. Monitoring training health''' * Plot G loss and D loss separately; they should remain in rough balance * Sample fixed noise vectors (z_fixed) each epoch β visualize how G evolves * Compute FID every 5kβ10k iterations on 10k samples * Alert if G loss spikes dramatically (mode collapse indicator) [[Category:Artificial Intelligence]] [[Category:Deep Learning]] [[Category:Generative AI]] </div>
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information