Skip to content

Commit 3cef1a2

Browse files
committed
fix test_ma
1 parent b296229 commit 3cef1a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

domainlab/algos/trainers/train_ema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ def after_epoch(self, epoch, flag_info=None):
6363
new_dict_para = self.move_average(dict_para, epoch)
6464
# without deepcopy, this seems to work
6565
torch_model.load_state_dict(new_dict_para)
66-
super().after_epoch(epoch)
66+
super().after_epoch(epoch, flag_info)

0 commit comments

Comments
 (0)