nnmnkwii.util.example_file_data_sources_for_acoustic_model

nnmnkwii.util.example_file_data_sources_for_acoustic_model()[source]

Get file data sources for acoustic model training

Returns

Tuple of FileDataSource s for example data.

Return type

tuple

Examples

>>> from nnmnkwii.util import example_file_data_sources_for_acoustic_model
>>> from nnmnkwii.datasets import FileSourceDataset
>>> X, Y = example_file_data_sources_for_acoustic_model()
>>> X, Y = FileSourceDataset(X), FileSourceDataset(Y)
>>> for x, y in zip(X, Y):
...     print(x.shape, y.shape)
...
(578, 425) (578, 187)
(675, 425) (675, 187)
(606, 425) (606, 187)