Skip to content
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

Cannot train the model with SGD optimizer #1

Open
chihchiehchen opened this issue Jan 1, 2022 · 1 comment
Open

Cannot train the model with SGD optimizer #1

chihchiehchen opened this issue Jan 1, 2022 · 1 comment

Comments

@chihchiehchen
Copy link

Hello,

Thanks for sharing the code. After downloading the required dataset, the code performs well. However, when I try to modify the optimizer, for example, replace adam by sgd, the training process cannot converge even with smaller learning rate.

Could you give me some suggestions or some hints I shall take care of ? In any case thanks a lot!

@heqin-zhu
Copy link
Collaborator

Hello,

I am not sure about this problem. Maybe you can try a bigger learning rate and set use_scheduler=False.
I will re-train the model later. If I find something useful, I will reply to you immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants