Skip to content

Commit 7258ba0

Browse files
committed
🔧 Fix #70
1 parent 9738e8d commit 7258ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tacotron2/decode_tacotron2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def main():
113113
mel_outputs, post_mel_outputs, stop_outputs, alignment_historys = tacotron2.inference(
114114
charactor,
115115
char_length,
116-
speaker_ids=tf.zeros(shape=[tf.shape(charactor)[0]]),
116+
speaker_ids=tf.zeros(shape=[tf.shape(charactor)[0]], dtype=tf.int32),
117117
)
118118

119119
# convert to numpy

0 commit comments

Comments
 (0)