diff --git a/paddlespeech/t2s/models/vits/flow.py b/paddlespeech/t2s/models/vits/flow.py index 8726748e..3c8f8935 100644 --- a/paddlespeech/t2s/models/vits/flow.py +++ b/paddlespeech/t2s/models/vits/flow.py @@ -252,9 +252,6 @@ class ConvFlow(nn.Layer): self.half_channels * (bins * 3 - 1), 1, ) - # self.proj.weight.data.zero_() - # self.proj.bias.data.zero_() - weight = paddle.zeros(paddle.shape(self.proj.weight)) self.proj.weight = paddle.create_parameter( diff --git a/paddlespeech/t2s/models/vits/residual_coupling.py b/paddlespeech/t2s/models/vits/residual_coupling.py index 8671462d..c18beedd 100644 --- a/paddlespeech/t2s/models/vits/residual_coupling.py +++ b/paddlespeech/t2s/models/vits/residual_coupling.py @@ -186,8 +186,6 @@ class ResidualAffineCouplingLayer(nn.Layer): hidden_channels, self.half_channels * 2, 1, ) - # self.proj.weight.data.zero_() - # self.proj.bias.data.zero_() weight = paddle.zeros(paddle.shape(self.proj.weight))