Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcardoso committed Aug 19, 2023
1 parent efef510 commit fddec6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mergernet/estimators/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ def get_scheduler(self, scheduler: str, lr: float) -> tf.keras.optimizers.schedu
initial_learning_rate=lr,
decay_steps=self.hp.get('lr_decay_steps', default=40),
alpha=self.hp.get('lr_decay_alpha', default=0.0),
warmup_target=self.get('lr_warmup_target', default=None),
warmup_steps=self.get('lr_warmup_steps', default=0)
warmup_target=self.hp.get('lr_warmup_target', default=None),
warmup_steps=self.hp.get('lr_warmup_steps', default=0)
)
elif scheduler == 'exponential':
return tf.keras.optimizers.schedules.ExponentialDecay(
Expand Down

0 comments on commit fddec6f

Please sign in to comment.