mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix
This commit is contained in:
parent
71f22957a6
commit
853312e84c
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ class AMPModel(ModelBase):
|
||||||
if self.is_training:
|
if self.is_training:
|
||||||
# Initialize optimizers
|
# Initialize optimizers
|
||||||
clipnorm = 1.0 if self.options['clipgrad'] else 0.0
|
clipnorm = 1.0 if self.options['clipgrad'] else 0.0
|
||||||
if self.options['lr_dropout'] in ['y','cpu'] and not self.pretrain:
|
if self.options['lr_dropout'] in ['y','cpu']:
|
||||||
lr_cos = 500
|
lr_cos = 500
|
||||||
lr_dropout = 0.3
|
lr_dropout = 0.3
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue