Skip to content

Commit 16c0b93

Browse files
alancuckinv-kkudrynski
authored andcommitted
[FastPitch/PyT] Update flags for inference
1 parent ddbcd54 commit 16c0b93

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

PyTorch/SpeechSynthesis/FastPitch/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ To train your model using mixed or TF32 precision with Tensor Cores or using FP3
277277
python inference.py \
278278
--cuda \
279279
--fastpitch output/<FastPitch checkpoint> \
280+
--energy-conditioning \
280281
--waveglow pretrained_models/waveglow/<WaveGlow checkpoint> \
281282
--wn-channels 256 \
282283
-i phrases/devset10.tsv \

PyTorch/SpeechSynthesis/FastPitch/inference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def parse_args(parser):
120120

121121
text_processing = parser.add_argument_group('Text processing parameters')
122122
text_processing.add_argument('--text-cleaners', nargs='*',
123-
default=['english_cleaners'], type=str,
123+
default=['english_cleaners_v2'], type=str,
124124
help='Type of text cleaners for input text')
125125
text_processing.add_argument('--symbol-set', type=str, default='english_basic',
126126
help='Define symbol set for input text')

PyTorch/SpeechSynthesis/FastPitch/scripts/inference_example.sh

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ ARGS+=" --fastpitch $FASTPITCH"
2828
ARGS+=" --waveglow $WAVEGLOW"
2929
ARGS+=" --wn-channels 256"
3030
ARGS+=" --batch-size $BATCH_SIZE"
31-
ARGS+=" --text-cleaners english_cleaners_v2"
3231
ARGS+=" --denoising-strength $DENOISING"
3332
ARGS+=" --repeats $REPEATS"
3433
ARGS+=" --warmup-steps $WARMUP"

0 commit comments

Comments
 (0)