mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-14 04:22:21 +00:00
Update valle.py
This commit is contained in:
parent
6d625b076b
commit
d61f5a2833
@ -1686,8 +1686,6 @@ class VALLE(nn.Module):
|
||||
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])):
|
||||
|
Loading…
x
Reference in New Issue
Block a user