mirror of https://github.com/coqui-ai/TTS.git
Remove flatten_parameters due to a bug at pytorch 0.4
This commit is contained in:
parent
9ff240e0ea
commit
6bcec24d13
|
@ -176,7 +176,7 @@ class CBHG(nn.Module):
|
||||||
|
|
||||||
# (B, T_in, in_features*2)
|
# (B, T_in, in_features*2)
|
||||||
# TODO: replace GRU with convolution as in Deep Voice 3
|
# TODO: replace GRU with convolution as in Deep Voice 3
|
||||||
self.gru.flatten_parameters()
|
# self.gru.flatten_parameters()
|
||||||
outputs, _ = self.gru(x)
|
outputs, _ = self.gru(x)
|
||||||
return outputs
|
return outputs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue