February 2019
Beginner to intermediate
568 pages
13h 5m
English
We'll code up the strategy that we laid out in the Getting ready section, as follows (The code file is available as Face_generation.ipynb in GitHub):
gen_noise = np.random.normal(0, 1, (1, 100))syntetic_images = Generator.predict(gen_noise)plt.imshow(deprocess(syntetic_images)[0])plt.axis('off')
The generated image looks as follows:

gen_noise2 = np.random.normal(0, 1, (1, 100))syntetic_images = Generator.predict(gen_noise2)plt.imshow(deprocess(syntetic_images)[0]) ...
Read now
Unlock full access