From f5ad3caf9fdc63736a1973c116114264f6a9a296 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 26 Jan 2023 14:40:01 +0900 Subject: [PATCH] from local --- .../.train_adapter.py.swp | Bin 90112 -> 90112 bytes .../train_adapter.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) 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 8b62ad9e17de3a5a9002d02d5424f80f435da8aa..4cc2ae853c44eeee9abc6128fa47ea2543a545d9 100644 GIT binary patch delta 134 zcmZoTz}j$tRW!*U%+puFQqO<^2m}}y)Pyc2H*6HW#mvaC`2(|v4clBE1_n;v$y^S4 zhGKjS45C2H3B>Pt85m9j@gg8z2*hPT>=i$88k7#mpGG`2(|v4O=Y_1H((6$y^S4 zhJt(y3}1PHTp&IV#H)e035XkkI1Gq&fmjEK-+{F-F#Ow`=}^tXT&&5kncbIJs!^7B#|KyoETl~$7tC#f{s`fa!MV>~Pf0FyH*KL7v# 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 191927d8c..8be8b63a0 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,8 +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') - try: pl_texts = open('/workspace/icefall/egs/librispeech/ASR/tc_big.pl', 'r').readlines() - except: pl_texts = None + pl_texts = open('/workspace/icefall/egs/librispeech/ASR/tc_big.pl', 'r').readlines() + pl = {} for text in pl_texts: text = text.strip().split()