This commit is contained in:
James Betker 2022-04-20 00:03:29 -06:00
parent 0af0051399
commit 24fdafd855

View File

@ -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()),