summaryrefslogtreecommitdiff
path: root/become_yukarin/config.py
blob: b15dc6f05ba8a40267f0997310d8b912635142f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from typing import NamedTuple

from .data_struct import AcousticFeature
from .param import Param


class DatasetConfig(NamedTuple):
    param: Param
    input_glob: str
    target_glob: str
    input_mean: AcousticFeature
    input_var: AcousticFeature
    target_mean: AcousticFeature
    target_var: AcousticFeature
    seed: int
    num_test: int


class Config(NamedTuple):
    dataset_config: DatasetConfig