fix final rate calculation

This commit is contained in:
Connor Olding 2017-08-05 10:42:23 +00:00
parent 915b39d783
commit dbd6c31ea5

View file

@ -1208,7 +1208,7 @@ class Learner:
@property
def final_rate(self):
return self.rate_at(self.epochs - 1)
return self.rate_at(self.epochs - 1e-8)
class AnnealingLearner(Learner):
def __init__(self, optim, epochs=100, rate=None, halve_every=10):