Skip to content
Snippets Groups Projects
Commit 9f758582 authored by Lucas Miranda's avatar Lucas Miranda
Browse files

Implemented 1 cycle learning rate schedule

parent f8da54f9
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,7 @@ class Entropy_regulariser(Layer):
def call(self, z, **kwargs):
entropy = K.sum(
tf.multiply(z, tf.where(~tf.math.is_inf(K.log(z)), K.log(z), 0)), axis=0
tf.multiply(z, tf.where(~tf.math.is_inf(K.log(z)), K.log(z), 0)), axis=1
)
# Adds metric that monitors dead neurons in the latent space
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment