tensorflow_stacked_denoising_autoencoder
tensorflow_stacked_denoising_autoencoder copied to clipboard
Implementation of the stacked denoising autoencoder in Tensorflow
i find the autoencoder weight has not been updated when the program is running. does it need to be modified?
the cost function output nan from the beginning
`self.cost = 0.5 * tf.reduce_sum(tf.pow(tf.subtract(self.reconstruction, self.x), 2.0))+\ self.sparse_reg * self.kl_divergence(self.sparsity_level, self.hidden_encode[-1]) ` `def kl_divergence(self, p, p_hat): return tf.reduce_mean(p * tf.log(tf.clip_by_value(p, 1e-8, tf.reduce_max(p))) - p * tf.log(tf.clip_by_value(p_hat, 1e-8, tf.reduce_max(p_hat))) + (1...