Skip to content

Commit

Permalink
[LINT] Corrected linting in tf helper (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaccharieramzi authored Sep 2, 2022
1 parent a6ed9d5 commit 77c6ac6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/tf_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def on_epoch_end(self, epoch, logs=None):
self.model.stop_training = not self.cb_(self.model)

class LRWDSchedulerCallback(tf.keras.callbacks.LearningRateScheduler):
"""Callback that schedules jointly the learning rate and the weight decay
"""Callback that schedules jointly the learning rate and the weight
decay
This is necessary as in TensorFlow, the decoupled weight decay is not
multiplied by the learning rate.
Expand Down

0 comments on commit 77c6ac6

Please sign in to comment.