October 2018
Intermediate to advanced
472 pages
10h 57m
English
The following are some of the hyperparameters defined that we will be using throughout the code and are totally configurable:
# Smoothing valuesmooth_real = 0.9# Number of epochsepochs = 5# Batchsizebatch_size = 128# Optimizer for the generatoroptimizer_g = Adam(lr=0.0002, beta_1=0.5)# Optimizer for the discriminatoroptimizer_d = Adam(lr=0.0004, beta_1=0.5)# Shape of the input imageinput_shape = (28,28,1)
Read now
Unlock full access