nnmnkwii.util.example_file_data_sources_for_duration_model

nnmnkwii.util.example_file_data_sources_for_duration_model()[source]

Get file data sources for duration model training

Returns:Tuple of :obj:`FileDataSource`s for example data.
Return type:tuple

Examples

>>> from nnmnkwii.util import example_file_data_sources_for_duration_model
>>> from nnmnkwii.datasets import FileSourceDataset
>>> X, Y = example_file_data_sources_for_duration_model()
>>> X, Y = FileSourceDataset(X), FileSourceDataset(Y)
>>> for x, y in zip(X, Y):
...     print(x.shape, y.shape)
...
(35, 416) (35, 5)
(40, 416) (40, 5)
(39, 416) (39, 5)