August 2017
Intermediate to advanced
288 pages
8h 6m
English
The next step is to set up the autoencoder model:
# Reset the graph and set-up an interactive sessiontf$reset_default_graph()sess<-tf$InteractiveSession()
# Define Input as Placeholder variablesx = tf$placeholder(tf$float32, shape=shape(NULL, img_size_flat), name='x')x_corrput<-tf$placeholder(tf$float32, shape=shape(NULL, img_size_flat), name='x_corrput')
The x_corrupt will be used as input in the autoencoder, and x is the actual image that will be used as output.
# Setting-up ...
Read now
Unlock full access