mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 14:24:40 -07:00
bug fix modifier
This commit is contained in:
parent
2c911ce234
commit
447ac28b4d
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ class SAEHDModel(ModelBase):
|
||||||
lr_modifier = self.options['lr_modifier']
|
lr_modifier = self.options['lr_modifier']
|
||||||
if lr_modifier == 0:
|
if lr_modifier == 0:
|
||||||
lr = 5e-5
|
lr = 5e-5
|
||||||
elif lr_modifier > 0:
|
elif lr_modifier < 0:
|
||||||
lr = 5e-5 / abs( lr_modifier * 4/100 )
|
lr = 5e-5 / abs( lr_modifier * 4/100 )
|
||||||
else:
|
else:
|
||||||
lr = 5e-5 * abs( lr_modifier * 4/100 )
|
lr = 5e-5 * abs( lr_modifier * 4/100 )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue