Machine Learning, Data Science, Artificial Intelligence, Towards Data Science, Deep Learning.
x = BatchNormalization()(x) x = LeakyReLU(0.3)(x) return x Now build the generator, notice that this time we are using decoder blocks and gradually decreasing the filter size. def build_generator(start_filters, filter_size, latent_dim): inp = Input(shape=(latent_dim,)) # Projection. x = Dense(4 * 4