Closed zhaoxuyan closed 5 years ago
I have found this lines:
lr = random.random()*0.0005 + 0.0000005
config.lr = lr
Is it wrong?
I think it should be:
config.lr = config.lr + lr
Hi, @zhaoxuyan , The code for lr was for random hyperparameter search. You can remove them, then set hyperparameter that you want. Thank you for pointing this out!
Thank you!
When I run
python main.py --lr=0.001
I saw thisas you can see:
lr=0.0002124676041200755
The learning rate is not equal as I set in the config, why? How can I deal with it? Thank you!