Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshitomo-matsubara committed Nov 5, 2023
1 parent 0c89679 commit 46056e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchdistill/losses/mid_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def forward(self, student_io_dict, teacher_io_dict, targets, *args, **kwargs):
return loss

def __str__(self):
return str(self.weights) + ' * ' + self.mid_level_loss.__str__()
return str(self.weights) + ' * ' + self.low_level_loss.__str__()


@register_mid_level_loss
Expand Down

0 comments on commit 46056e3

Please sign in to comment.