From 2f7b578f29951d64a1b6b2bf5834175e3d5afcfd Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 10 Dec 2022 11:53:30 +0900 Subject: [PATCH] from local --- .../.train.py.swp | Bin 65536 -> 65536 bytes .../train.py | 1 + 2 files changed, 1 insertion(+) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train.py.swp index d65887c1bc7eac824a1906e9609d5c6a750bebe2..dc3c8c1542e2ab5b0dc93c330c120d99c036171a 100644 GIT binary patch delta 160 zcmZo@U}G*XCQV0Vl^Os$;-g-0*H45@hl*o3B>t8>;S|< hKr9HvkAbGH1)IM4pr8Z~ivkdAzWMM8)8wlEZ2-5jB3b|d delta 153 zcmZo@U}P$~;ySR&n-2;q@GvTDzWMM4)8zX9jR4wOAz=Uj diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py index 5472d6c59..42842875e 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train.py @@ -679,6 +679,7 @@ def compute_loss( logging.info(supervisions["start_frame"]) logging.info(supervisions["num_frames"]) + if feature.ndim == 2: feature_lens = [] for supervision in supervisions['cut']: