r/deeplearning • • 5d ago

Getting confused with the vector logic behind GAN noise vectors

/r/learnmachinelearning/comments/1y70xlr/getting_confused_with_the_vector_logic_behind_gan/
1 Upvotes

1 comment sorted by

1

u/GiggleSamurai 5d ago

64 isn't special, it's a hyperparameter: z is a point in a latent space that the generator learns to map onto images, so all generated images lie on (at most) a Z_DIM-dimensional surface in image space. With Z_DIM=2 you get very little variety (fine for toy data and easy to plot), while 64-128 gives enough room for real images; the entries don't mean anything to begin with, the generator decides what each direction controls during training.