mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-13 20:12:24 +00:00
minor fixes
This commit is contained in:
parent
94126e7f38
commit
a8efe19aa4
@ -1676,7 +1676,8 @@ class VALLE(nn.Module):
|
||||
text_tokens, text_tokens_lens = tokenizer(tokens)
|
||||
assert text_tokens.ndim == 2
|
||||
|
||||
utt_ids, texts = batch["utt_id"], batch["text"]
|
||||
texts = batch["text"]
|
||||
utt_ids = [cut.id for cut in batch["cut"]]
|
||||
|
||||
encoder_outputs = predicts[0].to("cpu").type(torch.float32).detach().numpy()
|
||||
decoder_outputs = predicts[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user