Пример #1
0
 class opts:
     stft: Dict = dict_func({
         'factory': STFT,
         'shift': 256,
         'size': 1024,
     })
     low_cut: int = 5
     high_cut: int = -5
Пример #2
0
    class opts:
        reference_channel: int = 0
        collate: Dict = dict_func(
            dict(factory=Padder,
                 to_torch=False,
                 sort_by_key=NUM_SAMPLES,
                 padding=False,
                 padding_keys=None))
        audio_keys: List = field(default_factory=lambda: [OBSERVATION])
        shuffle: bool = True
        batch_size: int = 1
        batch_size_eval: int = 5
        num_workers: int = 4
        buffer_size: int = 20

        multichannel: bool = True
        num_channels: int = 6
        backend: str = 't'
        drop_last: bool = False
        time_segments: int = None
Пример #3
0
 class opts:
     stft: Dict = dict_func({
         'factory': STFT,
     })
     low_cut: int = 5
     high_cut: int = -5