mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
552f89adee
commit
e73dd039a1
Binary file not shown.
@ -200,6 +200,7 @@ def encode_supervisions(
|
||||
for supervision in supervisions['cut']:
|
||||
try: num_frames.append(supervision.tracks[0].cut.recording.num_samples)
|
||||
except: num_frames.append(supervision.recording.num_samples)
|
||||
|
||||
supervision_segments = torch.stack(
|
||||
(
|
||||
supervisions["sequence_idx"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user