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

freeze_teacher #77

Open
757787182 opened this issue Jul 27, 2024 · 0 comments
Open

freeze_teacher #77

757787182 opened this issue Jul 27, 2024 · 0 comments

Comments

@757787182
Copy link

I want to ask about the frozen network. I saw in the code that when you freeze the network, you put the frozen network in verification mode and use with torch.no_grad(): block gradient update, and detach() the result of the frozen network calculation when calculating the loss. I do not understand this also saw some information on the Internet is not very understand, there is no master to point out

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