Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
- fixed bug in AutoLR: cooldown duration was basically ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
nasimrahaman committed Feb 14, 2018
1 parent b0d03fd commit a96dd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inferno/trainers/callbacks/scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def out_of_patience(self):
@property
def in_cooldown(self):
if self.cooldown_duration is not None:
return not self.patience.match(**self.duration_since_last_decay)
return not self.cooldown_duration.match(**self.duration_since_last_decay)
else:
return False

Expand Down

0 comments on commit a96dd32

Please sign in to comment.