Skip to content

Commit

Permalink
[Fix] Fix typo in BaseDistiller (open-mmlab#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkhe authored Feb 11, 2022
1 parent b28136b commit b18976f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmrazor/models/distillers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(self, align_methods=None, **kwargs):
self.context_manager = ConversionContext(align_methods)

@abstractmethod
def prepare_from_student(self, supernet):
def prepare_from_student(self, student):
"""Register forward hooks to students and teachers."""
pass

Expand Down

0 comments on commit b18976f

Please sign in to comment.