Skip to content
Snippets Groups Projects
Commit 748fa5c9 authored by Guy Jacob's avatar Guy Jacob
Browse files

Add missing **kwargs in on_epoch_begin of knowledge distill policy

parent acfdd08d
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ class KnowledgeDistillationPolicy(ScheduledTrainingPolicy):
# Since the "forward" function isn't a policy callback, we use the epoch callbacks to toggle the
# activation of distillation according the schedule defined by the user
def on_epoch_begin(self, model, zeros_mask_dict, meta):
def on_epoch_begin(self, model, zeros_mask_dict, meta, **kwargs):
self.active = True
def on_epoch_end(self, model, zeros_mask_dict, meta):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment