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
fa8ec4171e
commit
be5f456790
Binary file not shown.
@ -834,7 +834,6 @@ def compute_loss(
|
|||||||
feature = feature.to(device)
|
feature = feature.to(device)
|
||||||
|
|
||||||
supervisions = batch["supervisions"]
|
supervisions = batch["supervisions"]
|
||||||
|
|
||||||
if feature.ndim == 2:
|
if feature.ndim == 2:
|
||||||
feature_lens = []
|
feature_lens = []
|
||||||
for supervision in supervisions['cut']:
|
for supervision in supervisions['cut']:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user