From d61f5a2833923c1365082417c178dfa962e4f467 Mon Sep 17 00:00:00 2001 From: zr_jin Date: Sun, 8 Dec 2024 11:39:57 +0800 Subject: [PATCH] Update valle.py --- egs/wenetspeech4tts/TTS/valle/valle.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/egs/wenetspeech4tts/TTS/valle/valle.py b/egs/wenetspeech4tts/TTS/valle/valle.py index cc97f56709..7723174286 100644 --- a/egs/wenetspeech4tts/TTS/valle/valle.py +++ b/egs/wenetspeech4tts/TTS/valle/valle.py @@ -1686,8 +1686,6 @@ def visualize( decoder_outputs = decoder_outputs.to("cpu").type(torch.float32).detach().numpy() vmin, vmax = 0, 1024 # Encodec - # if decoder_outputs.dtype == np.float32: - # vmin, vmax = -6, 0 # Fbank num_figures = 3 for b, (utt_id, text) in enumerate(zip(utt_ids[:limit], texts[:limit])):