Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Update meldataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yl4579 authored Jun 16, 2022
1 parent 7bca68a commit 7348690
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meldataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@
from text_utils import TextCleaner
np.random.seed(1)
random.seed(1)
DEFAULT_DICT_PATH = osp.join(osp.dirname(__file__), 'word_index_dict.txt') #'kata_dict.csv') #
DEFAULT_DICT_PATH = osp.join(osp.dirname(__file__), 'word_index_dict.txt')
SPECT_PARAMS = {
"n_fft": 2048,
"win_length": 1200,
"hop_length": 300
}
MEL_PARAMS = {
"n_mels": 80,
"n_fft": 2048,
"win_length": 1200,
"hop_length": 300
}

class MelDataset(torch.utils.data.Dataset):
Expand Down

0 comments on commit 7348690

Please sign in to comment.