From 91fae7743748d532e46aaec0e6dfa10aa0445ee6 Mon Sep 17 00:00:00 2001 From: baemincheon Date: Tue, 25 Sep 2018 22:54:25 +0900 Subject: [PATCH] fix facenet.get_learning_rate_from_file() --- src/facenet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/facenet.py b/src/facenet.py index 0e056765a..38b1e60d5 100644 --- a/src/facenet.py +++ b/src/facenet.py @@ -299,8 +299,7 @@ def get_learning_rate_from_file(filename, epoch): lr = float(par[1]) if e <= epoch: learning_rate = lr - else: - return learning_rate + return learning_rate class ImageClass(): "Stores the paths to images for a given class"