Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
curegit committed Apr 11, 2021
1 parent 1167c3f commit d0b497f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stylegan/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def update_generator(self):
path_length = CustomUpdater.path_length(ws, x_fake, masks)
self.averaged_path_length = lerp(path_length.item(), self.averaged_path_length, self.path_length_decay)
penalty = self.path_length_penalty_weight * (path_length - self.averaged_path_length) ** 2
report({"path length", path_length})
report({"path length": path_length})
else:
penalty = 0.0
if self.lsgan:
Expand Down

0 comments on commit d0b497f

Please sign in to comment.