-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix facenet.get_learning_rate_from_file() #884
base: master
Are you sure you want to change the base?
Conversation
回溯(最近一次調用最後一次): |
can i get the error message written with english ? i can hardly know about the error |
Backtracking (last call last time): |
you should check out a value that the it seems that the error occurs when the if the p.s. you do not have to be sorry about the language. but it would be better sharing codes in english especially on github for saving a conversation cost. |
you should check out a value that the par[0] has when the error occurs. use print() or watch for debugging it. |
Learning rate scheduleMaps an epoch number to a learning rate 0: 0.05 60: 0.005 80: 0.0005 91: -1my learning rate classifier_casia file may have contained unnecessary lines or characters? |
create a repository with your code on github and let me know the url of the repository. then, I can check out what is the matter. |
|
I have reproduced your error. the error seems to happen because of the learning rate file. look at the screenshots below. #1 : if it does not contain any unnecessary line #2 : if it contains one unnecessary line #3 : if it contains two unnecessary lines therefore, you should check out whether your learning rate file contains more than one unnecessary line. and I made PR about it, so you can do this for ease, too. |
I expected when learning rate becomes
-1
, the train is closedbut
get_learning_rate_from_file()
returnsnonetype
whenever learning rate becomes-1
( other users have this problem, too : #853 )
it is the problem, and I modified the function so that solve the problem
images below show the different results
before:
after: