Skip to content

Commit

Permalink
fix pl_mean initialized value
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jul 3, 2020
1 parent 8ef4b20 commit 611ab46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name = 'stylegan2_pytorch',
packages = find_packages(),
scripts=['bin/stylegan2_pytorch'],
version = '0.17.5',
version = '0.17.6',
license='GPLv3+',
description = 'StyleGan2 in Pytorch',
author = 'Phil Wang',
Expand Down
2 changes: 1 addition & 1 deletion stylegan2_pytorch/stylegan2_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def __init__(self, name, results_dir, models_dir, image_size, network_capacity,
self.av = None
self.trunc_psi = trunc_psi

self.pl_mean = 0
self.pl_mean = None

self.gradient_accumulate_every = gradient_accumulate_every

Expand Down

0 comments on commit 611ab46

Please sign in to comment.