Skip to content

Commit 4cbdd05

Browse files
committed
Change to in FastSpeechPostnet, may cause nan problem.
1 parent ef7f1a3 commit 4cbdd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_tts/models/fastspeech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def __init__(self, config, **kwargs):
517517
padding="same",
518518
name="conv_._{}".format(i),
519519
)
520-
batch_norm = tf.keras.layers.BatchNormalization(
520+
batch_norm = tf.keras.layers.experimental.SyncBatchNormalization(
521521
name="batch_norm_._{}".format(i)
522522
)
523523
self.conv_batch_norm.append((conv, batch_norm))

0 commit comments

Comments
 (0)