Skip to content

Commit ba1ecfd

Browse files
committed
fix typo
1 parent 4e20829 commit ba1ecfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate_aligned_predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def preprocess(model, in_dir, out_dir, text, audio_filename, mel_filename,
3737
"""Generate ground truth-aligned prediction
3838
3939
The output of the network and corresponding audio are saved after time
40-
resolution adjastment if overwrite flag is specified.
40+
resolution adjustment.
4141
"""
4242
r = hparams.outputs_per_step
4343
downsample_step = hparams.downsample_step
@@ -79,7 +79,7 @@ def preprocess(model, in_dir, out_dir, text, audio_filename, mel_filename,
7979

8080
mel_output = mel_outputs[0].data.cpu().numpy()
8181

82-
# **Time resolution adjastment**
82+
# **Time resolution adjustment**
8383
# remove begenning audio used for first mel prediction
8484
wav = np.load(join(in_dir, audio_filename))[hparams.hop_size * downsample_step:]
8585
assert len(wav) % hparams.hop_size == 0

0 commit comments

Comments
 (0)