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

Question about the cons weight. #10

Closed
CuberrChen opened this issue Jan 9, 2022 · 4 comments
Closed

Question about the cons weight. #10

CuberrChen opened this issue Jan 9, 2022 · 4 comments

Comments

@CuberrChen
Copy link

Hi. In mean teacher, the consistency weight is 100. but in this work, all consistency weight is 1. Isn't this value too small?
Can you tell me the details of setting this parameter, because I have seen other work(such as
CPS, cvpr2021) that uses a consistency weight of around 100 when reproducing the mean-teacher method as well.

Looking forward to your help.

best,

@Britefury
Copy link
Owner

Britefury commented Jan 9, 2022 via email

@CuberrChen
Copy link
Author

Thank you very much for your detailed reply!

Since when I use large consistency loss weight, mean-teacher does not work properly and instead leads to degradation of segmentation performance.

Your answer is very helpful for me to understand it.

Best,

@Britefury
Copy link
Owner

Glad I could help.
It's often worth doing a manual sweep on these hyper-parameters in order to find the best value.
For loss weights, I sweep on an exponential scale, so I try perhaps the following values: 0.01, 0.03, 0.1, 0.3, 1.0, 3.0, 10.0, 30.0, 100.0. Close enough not to miss an optimal value while allowing you to cover a range. That's pretty much what I did to find the values that we use here.

@CuberrChen
Copy link
Author

CuberrChen commented Jan 10, 2022

Thanks.

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