Unverified Commit 5613e21d authored by littletomatodonkey's avatar littletomatodonkey Committed by GitHub
Browse files

fix map name (#4191)

parent 773a8c45
...@@ -112,7 +112,7 @@ class DistillationDMLLoss(DMLLoss): ...@@ -112,7 +112,7 @@ class DistillationDMLLoss(DMLLoss):
if isinstance(loss, dict): if isinstance(loss, dict):
for key in loss: for key in loss:
loss_dict["{}_{}_{}_{}_{}".format(key, pair[ loss_dict["{}_{}_{}_{}_{}".format(key, pair[
0], pair[1], map_name, idx)] = loss[key] 0], pair[1], self.maps_name, idx)] = loss[key]
else: else:
loss_dict["{}_{}_{}".format(self.name, self.maps_name[ loss_dict["{}_{}_{}".format(self.name, self.maps_name[
_c], idx)] = loss _c], idx)] = loss
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment