Learn Before
Concept

Putting it all together - AutoEncoder Code

#<1>The input to the autoencoder is the same as the input to the encoder. model_input = encoder_input #<2> The output from the autoencoder is the output from the encoder passed # through the decoder. model_output = self.decoder(encoder_output) #<3> The Keras model that defines the full autoencoder—a model that takes # an image, and passes it through the encoder and back out through the # decoder to generate a reconstruction of the original image. self.model = Model(model_input, model_output)```

0

1

Updated 2020-10-17

Tags

Data Science