from local

This commit is contained in:
dohe0342 2023-02-25 15:39:08 +09:00
parent 8a1a0cb3e9
commit 9446c425db
2 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,8 @@ def decode_one_batch(
supervisions = batch["supervisions"]
nnet_output, memory, memory_key_padding_mask = model(feature, supervisions)
if type(nnet_output) == tuple:
nnet_output = nnet_output[0]
supervision_segments = torch.stack(
(