From 285292c5f7852bb7bc0c8613ff0096832f086262 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 26 Jan 2023 14:39:49 +0900 Subject: [PATCH] from local --- .../.train_adapter.py.swp | Bin 90112 -> 90112 bytes .../train_adapter.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train_adapter.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.train_adapter.py.swp index c6090be6d9f55007b42d9a4e0b3a90182789d1ce..8b62ad9e17de3a5a9002d02d5424f80f435da8aa 100644 GIT binary patch delta 167 zcmZoTz}j$tRW!*U%+puFQqO<^2m}}yRD>=i$88k7#mpGG`2({9AEU@-L!ryMytOKT delta 164 zcmZoTz}j$tRW!*U%+puFQqO<^2m}}y{s~@6*4`+3i5nRy@v1BfUo+Wf*tka4onB;{sXzwNeujE4mQ7bhaT diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py index 7c1cfadcf..191927d8c 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/train_adapter.py @@ -1587,7 +1587,8 @@ def run_adapter(rank, world_size, args, wb=None): #train_cuts = librispeech.train_clean_10_cuts(option='male') train_cuts = librispeech.test_clean_user(option='big') - pl_texts = open('/workspace/icefall/egs/librispeech/ASR/tc_big.pl', 'r').readlines() + try: pl_texts = open('/workspace/icefall/egs/librispeech/ASR/tc_big.pl', 'r').readlines() + except: pl_texts = None pl = {} for text in pl_texts: text = text.strip().split()