July 2019
Intermediate to advanced
512 pages
19h 39m
English
Now we will learn how autoencoders reconstruct handwritten digits using the MNIST dataset. First, let's import the necessary libraries:
import warningswarnings.filterwarnings('ignore')import numpy as npimport tensorflow as tffrom tensorflow.keras.models import Modelfrom tensorflow.keras.layers import Input, Densetf.logging.set_verbosity(tf.logging.ERROR)#plottingimport matplotlib.pyplot as plt%matplotlib inline#datasetfrom tensorflow.keras.datasets import mnist
Read now
Unlock full access