Generator network
The generator network would take in random noise and try to output images similar to the SVHN images as output. The random noise is a 100 dimensional input vector. Each of the dimensions is a random variable following the standard normal distribution with a mean of 0 and a standard deviation of 1.
The initial dense layer has 8192 units, which is reshaped to a three-dimensional tensor of a shape 4 x 4 x 512 . The tensor can be thought of as a 4 x 4 image with 512 filters. To increase the spatial dimensions of the tensor, we do a series of transpose 2D convolutions with a stride of 2 and a kernel filter size of the dimensions 5 x 5. The stride size determines the scaling of the transpose convolution. For instance, a stride ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access