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

what's the T in cosine learning rate when training on ImageNet? #29

Open
xpain1 opened this issue Sep 24, 2019 · 3 comments
Open

what's the T in cosine learning rate when training on ImageNet? #29

xpain1 opened this issue Sep 24, 2019 · 3 comments

Comments

@xpain1
Copy link

xpain1 commented Sep 24, 2019

I wanna training the gcnet on ImageNet, but when I finished the linear warmup, the loss almost no drop. I set the learning rate as 0.1 and the Tmax as 10 with CosineAnnealingLR in pytorch, is that anything wrong ? thx

@xvjiarui
Copy link
Owner

xvjiarui commented Sep 29, 2019

Sorry for the late reply.
Please note that during ImageNet training, we trained for 120 epoch in total, which means Tmax should also be set to 120 if don't consider linear warmup epoch.

@xpain1
Copy link
Author

xpain1 commented Sep 29, 2019 via email

@xvjiarui
Copy link
Owner

As mentioned in #10, we also successfully trained GCNet for ImageNet classification from scratch.
My last reply is under training from scratch setting.
As for fine-tune setting mentioned in the initial paper (which would be update soon), there is no linear warmup during fine-tune stage. So in this case Tmax=40.

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