Example #1
0
 def train_data_sources(self):
     return {
         'n_frames': data_sources.TextSource('n_frames', sentence_level=True),
         'dur': data_sources.TextSource('dur'),
         'lab': data_sources.NumpyBinarySource('lab'),
         'counters': data_sources.NumpyBinarySource('counters'),
         'lf0': data_sources.NumpyBinarySource('lf0', use_deltas=True),
         'vuv': data_sources.NumpyBinarySource('vuv'),
     }
Example #2
0
 def train_data_sources(self):
     return {
         'n_frames': data_sources.TextSource('n_frames'),
         'n_phones': data_sources.TextSource('n_phones'),
         'dur': data_sources.TextSource('dur', normalisation='mvn'),
         'lab': data_sources.NumpyBinarySource('lab', normalisation='minmax'),
         'counters': data_sources.NumpyBinarySource('counters', normalisation='minmax'),
         'lf0': data_sources.NumpyBinarySource('lf0', normalisation='mvn', use_deltas=True),
         'vuv': data_sources.NumpyBinarySource('vuv'),
     }
 def train_data_sources(self):
     return {
         'n_frames': data_sources.TextSource('n_frames', sentence_level=True),
         'dur': data_sources.TextSource('dur'),
         'phones': data_sources.VocabSource('phones', vocab_file=self.phone_set_file),
         'counters': data_sources.NumpyBinarySource('counters'),
         'lf0': data_sources.NumpyBinarySource('lf0', use_deltas=True),
         'vuv': data_sources.NumpyBinarySource('vuv'),
         'n_segments': data_sources.TextSource('n_segments', sentence_level=True),
         'segment_n_frames': data_sources.TextSource('segment_n_frames'),
     }