mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2024-03-22 13:10:55 +08:00
fix
This commit is contained in:
parent
71f22957a6
commit
853312e84c
|
@ -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…
Reference in New Issue
Block a user