mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-23 08:26:06 +00:00
Remove more spurious logging
This commit is contained in:
@@ -47,10 +47,13 @@ hann_window = {}
|
|||||||
|
|
||||||
|
|
||||||
def mel_spectrogram(y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False):
|
def mel_spectrogram(y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False):
|
||||||
if torch.min(y) < -1.:
|
# NB(bt,2022-07-14): There was previous debugging being done here.
|
||||||
print('min value is ', torch.min(y))
|
# Going over the normalization range may have been causing issues?
|
||||||
if torch.max(y) > 1.:
|
# It periodically appears in the logs. In any case, it isn't helpful
|
||||||
print('max value is ', torch.max(y))
|
#if torch.min(y) < -1.:
|
||||||
|
# print('min value is ', torch.min(y))
|
||||||
|
#if torch.max(y) > 1.:
|
||||||
|
# print('max value is ', torch.max(y))
|
||||||
|
|
||||||
global mel_basis, hann_window
|
global mel_basis, hann_window
|
||||||
if fmax not in mel_basis:
|
if fmax not in mel_basis:
|
||||||
|
|||||||
@@ -237,19 +237,6 @@ class ApiHandler():
|
|||||||
maybe_clear_synthesizer_checkpoint_path = \
|
maybe_clear_synthesizer_checkpoint_path = \
|
||||||
raw_data.get('maybe_clear_synthesizer_checkpoint_path')
|
raw_data.get('maybe_clear_synthesizer_checkpoint_path')
|
||||||
|
|
||||||
print('synthesizer_checkpoint_path: {}'.format(synthesizer_checkpoint_path))
|
|
||||||
print('text_pipeline_type: {}'.format(text_pipeline_type))
|
|
||||||
print('vocoder_type: {}'.format(vocoder_type))
|
|
||||||
print('waveglow_vocoder_checkpoint_path: {}'.format(waveglow_vocoder_checkpoint_path))
|
|
||||||
print('hifigan_vocoder_checkpoint_path: {}'.format(hifigan_vocoder_checkpoint_path))
|
|
||||||
print('hifigan_superres_vocoder_checkpoint_path: {}'.format(hifigan_superres_vocoder_checkpoint_path))
|
|
||||||
print('inference_text: {}'.format(inference_text))
|
|
||||||
print('output_audio_filename: {}'.format(output_audio_filename))
|
|
||||||
print('output_spectrogram_filename: {}'.format(output_spectrogram_filename))
|
|
||||||
print('output_metadata_filename: {}'.format(output_metadata_filename))
|
|
||||||
print('maybe_clear_synthesizer_checkpoint_path: {}'.format(
|
|
||||||
maybe_clear_synthesizer_checkpoint_path))
|
|
||||||
|
|
||||||
pipeline.maybe_load_waveglow_model(waveglow_vocoder_checkpoint_path)
|
pipeline.maybe_load_waveglow_model(waveglow_vocoder_checkpoint_path)
|
||||||
pipeline.maybe_load_hifigan(hifigan_vocoder_checkpoint_path)
|
pipeline.maybe_load_hifigan(hifigan_vocoder_checkpoint_path)
|
||||||
pipeline.maybe_load_hifigan_super_resolution(hifigan_superres_vocoder_checkpoint_path)
|
pipeline.maybe_load_hifigan_super_resolution(hifigan_superres_vocoder_checkpoint_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user