File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44 name = 'stylegan2_pytorch' ,
55 packages = find_packages (),
66 scripts = ['bin/stylegan2_pytorch' ],
7- version = '0.18.0 ' ,
7+ version = '0.18.1 ' ,
88 license = 'GPLv3+' ,
99 description = 'StyleGan2 in Pytorch' ,
1010 author = 'Phil Wang' ,
Original file line number Diff line number Diff line change @@ -699,8 +699,8 @@ def train(self):
699699
700700 aug_prob = self .aug_prob
701701
702- apply_gradient_penalty = self .steps % 4 == 0
703- apply_path_penalty = self .steps % 32 == 0
702+ apply_gradient_penalty = self .steps > 5000 and self . steps % 4 == 0
703+ apply_path_penalty = self .steps > 5000 and self . steps % 32 == 0
704704 apply_cl_reg_to_generated = self .steps > 20000
705705
706706 backwards = partial (loss_backwards , self .fp16 )
You can’t perform that action at this time.
0 commit comments