Skip to content

Commit

Permalink
Update valle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Dec 8, 2024
1 parent 6d625b0 commit d61f5a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions egs/wenetspeech4tts/TTS/valle/valle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])):
Expand Down

0 comments on commit d61f5a2

Please sign in to comment.