January 2019
Intermediate to advanced
316 pages
8h 16m
English
To generate images, we need a noise vector, sampled from latent space. Numpy has a method called uniform() that generates a vector from a uniform distribution. Let's see how to generate images in the following steps:
z_noise = np.random.normal(0, 1, size=(batch_size, z_shape))
gen_images = gen_model.predict_on_batch(z_noise)
imsave('results/image_{}.jpg' ...Read now
Unlock full access