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

How do you decide when to stop the training ? #12

Open
idealwei opened this issue Jul 27, 2019 · 4 comments
Open

How do you decide when to stop the training ? #12

idealwei opened this issue Jul 27, 2019 · 4 comments

Comments

@idealwei
Copy link

Hi, I am curious how to decide when to stop the training and how to choose the final snapshots. It's not clarified in your paper. I found the "Early Stopping" parameters in your code, how to set this hyper-parameter?

@liyunsheng13
Copy link
Owner

It is a little hard to decide. For training without using SSL, I find stopping at 80000 iterations is best. When I continue to train with more iterations, overfitting will be caused. For training with SSL, I find there is not overfitting, but after 120000 iterations the mIoU starts to be stable. So I choose to stop at 120000 iterations for SSL.

@idealwei
Copy link
Author

In my opinion, when training without SSL, you tested every snapshot on 'val' split of Cityscapes and set the best snapshot iteration as the "Early Stopping" hyper-parameter.

@liyunsheng13
Copy link
Owner

Not really. The best result is always shown when iteration is around 80000. It is unnecessary to validate all snapshots.

@idealwei
Copy link
Author

But if you have not got the performance of 75000 , 85000, 90000, how did you know that the best results is shown around 80000.

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