Skip to content

Commit

Permalink
fix test_ma
Browse files Browse the repository at this point in the history
  • Loading branch information
smilesun committed Dec 5, 2024
1 parent b296229 commit 3cef1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domainlab/algos/trainers/train_ema.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ def after_epoch(self, epoch, flag_info=None):
new_dict_para = self.move_average(dict_para, epoch)
# without deepcopy, this seems to work
torch_model.load_state_dict(new_dict_para)
super().after_epoch(epoch)
super().after_epoch(epoch, flag_info)

0 comments on commit 3cef1a2

Please sign in to comment.