July 2019
Intermediate to advanced
512 pages
19h 39m
English
Let's strengthen our understanding of GANs by building them to generate handwritten digits in TensorFlow. You can also check the complete code used in this section here at http://bit.ly/2wwBvRU.
First, we will import all the necessary libraries:
import warningswarnings.filterwarnings('ignore')import numpy as npimport tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datatf.logging.set_verbosity(tf.logging.ERROR)import matplotlib.pyplot as plt%matplotlib inlinetf.reset_default_graph()
Read now
Unlock full access