Building My First GAN

Currently taking the first week assignment project which is building my own GAN.
I need clarity on why some values are used in the generator class.

why was 2, 4 and 8 multiplied to every output of the layers, who those values in the first place plus would everything go wrong if changed to other numbers.

please i need clarity

Hi @Temms_Abes,

I think this is because, the internal layers of the generator, should gradually increase in spatial dimensions for image generation.
In this case, there is a linear increase 2 → 4 → 8.
The intuition is that higher layers would focus on more complex structures and patterns.

1 Like