We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b3f2d6 commit 14e1658Copy full SHA for 14e1658
examples/fastspeech2_libritts/train_fastspeech2.py
@@ -362,7 +362,7 @@ def main():
362
363
# Check n_speakers matches number of speakers in speakers_map
364
n_speakers = config["fastspeech2_params"]["n_speakers"]
365
- assert n_speakers == len(speakers_map)
+ assert n_speakers == len(speakers_map), f"Number of speakers in dataset does not match n_speakers in config"
366
367
# define train/valid dataset
368
train_dataset = CharactorDurationF0EnergyMelDataset(
0 commit comments