mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
dropped dataset caching
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
import os
|
||||
|
||||
|
||||
def tts_cache(root_path, meta_file):
|
||||
"""This format is set for the meta-file generated by extract_features.py"""
|
||||
txt_file = os.path.join(root_path, meta_file)
|
||||
items = []
|
||||
with open(txt_file, 'r', encoding='utf8') as f:
|
||||
for line in f:
|
||||
cols = line.split('| ')
|
||||
# text, wav_full_path, mel_name, linear_name, wav_len, mel_len
|
||||
items.append(cols)
|
||||
return items
|
||||
|
||||
|
||||
def tweb(root_path, meta_file):
|
||||
"""Normalize TWEB dataset.
|
||||
https://www.kaggle.com/bryanpark/the-world-english-bible-speech-dataset
|
||||
|
||||
Reference in New Issue
Block a user