mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
from local
This commit is contained in:
parent
fa8ec4171e
commit
be5f456790
Binary file not shown.
@ -832,9 +832,8 @@ def compute_loss(
|
||||
# at entry, feature is (N, T, C)
|
||||
assert feature.ndim == 2 or feature.ndim == 3
|
||||
feature = feature.to(device)
|
||||
|
||||
|
||||
supervisions = batch["supervisions"]
|
||||
|
||||
if feature.ndim == 2:
|
||||
feature_lens = []
|
||||
for supervision in supervisions['cut']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user