fix collate_fn

pull/1032/head
WeberJulian 2021-10-27 13:45:49 +02:00 committed by Eren Gölge
parent 78c2d12a91
commit 2a2b5767c2
1 changed files with 0 additions and 2 deletions

View File

@ -402,8 +402,6 @@ class TTSDataset(Dataset):
# convert list of dicts to dict of lists
batch = {k: [dic[k] for dic in batch] for k in batch[0]}
speaker_names = [batch[idx]["speaker_name"] for idx in ids_sorted_decreasing]
# get language ids from language names
if self.language_id_mapping is not None:
language_names = [batch[idx]["language_name"] for idx in ids_sorted_decreasing]