mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix RMSprop.py
This commit is contained in:
parent
9ed662c522
commit
1adad3ece6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class RMSprop(nn.OptimizerBase):
|
||||||
self.lr_rnds_dict = {}
|
self.lr_rnds_dict = {}
|
||||||
|
|
||||||
def get_weights(self):
|
def get_weights(self):
|
||||||
return [self.lr, self.rho, self.epsilon, self.iterations] + list(self.accumulators_dict.values())
|
return [self.iterations] + list(self.accumulators_dict.values())
|
||||||
|
|
||||||
def initialize_variables(self, trainable_weights, vars_on_cpu=True, lr_dropout_on_cpu=False):
|
def initialize_variables(self, trainable_weights, vars_on_cpu=True, lr_dropout_on_cpu=False):
|
||||||
# Initialize here all trainable variables used in training
|
# Initialize here all trainable variables used in training
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue