From dbd6c31ea5995dfeb89ade31372c1e9c53ecc769 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 5 Aug 2017 10:42:23 +0000 Subject: [PATCH] fix final rate calculation --- onn_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onn_core.py b/onn_core.py index f5ccae1..e71118b 100644 --- a/onn_core.py +++ b/onn_core.py @@ -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):