This commit is contained in:
ylzz1997 2023-05-19 00:28:45 +08:00
parent 1ebeb56406
commit 9c341c13cc
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ class AudioDataset(Dataset):
'aug_vol': aug_vol,
'spk_id': spk_id
}
else:
else:
path_augmel = name_ext + ".aug_mel.npy"
aug_mel,keyshift = np.load(path_augmel, allow_pickle=True)
self.pitch_aug_dict[name_ext] = keyshift
self.data_buffer[name_ext] = {