mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
Remove flatten_parameters due to a bug at pytorch 0.4
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ class CBHG(nn.Module):
|
||||
|
||||
# (B, T_in, in_features*2)
|
||||
# TODO: replace GRU with convolution as in Deep Voice 3
|
||||
self.gru.flatten_parameters()
|
||||
# self.gru.flatten_parameters()
|
||||
outputs, _ = self.gru(x)
|
||||
return outputs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user