Skip to content

Commit

Permalink
Fix the learning_rate=None issue, see facenet issue davidsandberg#884.
Browse files Browse the repository at this point in the history
  • Loading branch information
xunings committed Apr 17, 2019
1 parent 60f3086 commit 4661780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/facenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ def get_learning_rate_from_file(filename, epoch):
if e <= epoch:
learning_rate = lr
else:
return learning_rate
#return learning_rate
break
return learning_rate

class ImageClass():
"Stores the paths to images for a given class"
Expand Down

0 comments on commit 4661780

Please sign in to comment.