Created
March 23, 2021 21:15
-
-
Save zilunpeng/5ae5ce2eb8cab1a634ef4d6ff06ce00f to your computer and use it in GitHub Desktop.
Set the teacher model to evaluation mode. Code below is part of the knowledge distillation toolkit (https://git.io/JYePf).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.teacher_model.eval() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment