forked from mrq/DL-Art-School
fix2
This commit is contained in:
parent
0af0051399
commit
24fdafd855
|
@ -395,8 +395,6 @@ class DiffusionTts(nn.Module):
|
||||||
|
|
||||||
|
|
||||||
def get_grad_norm_parameter_groups(self):
|
def get_grad_norm_parameter_groups(self):
|
||||||
if self.freeze_main_net:
|
|
||||||
return {}
|
|
||||||
groups = {
|
groups = {
|
||||||
'input_blocks': list(self.input_blocks.parameters()),
|
'input_blocks': list(self.input_blocks.parameters()),
|
||||||
'output_blocks': list(self.output_blocks.parameters()),
|
'output_blocks': list(self.output_blocks.parameters()),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user