Пример #1
0
 def make_specgrams_helper(self):
     final_resolutions = train_util.make_resolution_schedule(
         **self._config).final_resolutions
     return SpecgramsHelper(audio_length=self._config['audio_length'],
                            spec_shape=final_resolutions,
                            overlap=0.75,
                            sample_rate=self._config['sample_rate'],
                            mel_downscale=1,
                            ifreq=True)
Пример #2
0
 def make_specgrams_helper(self):
     return SpecgramsHelper(audio_length=64000,
                            spec_shape=(256, 512),
                            overlap=0.75,
                            sample_rate=self._config['sample_rate'],
                            mel_downscale=2)