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

Re-initialization of the momentum #13

Open
yasserben opened this issue Oct 8, 2022 · 0 comments
Open

Re-initialization of the momentum #13

yasserben opened this issue Oct 8, 2022 · 0 comments

Comments

@yasserben
Copy link

Hi,

In your code, there's an argument called reset_teacher, which re-initializes the momentum network denoted as self.slow_net.
I would like to know when does reset_teacher = True, so that the momentum gets re-initialized to the state of the actual SegmentationNet denoted as self.backbone.
Because from what I understood, the MomentumNet gets initialized from the beginning to be equal to SegmentationNet, then gets updated using the exponential moving average formula and never gets re-intialized.

Thank you very much !! 😃

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

1 participant