From 6b6af4bbc112b2913dfb1516690b6e6fa65fb788 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 26 Jan 2023 14:42:46 +0900 Subject: [PATCH] from local --- .../.train_adapter.py.swp | Bin 90112 -> 90112 bytes .../train_adapter.py | 4 +++- 2 files changed, 3 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 1e53d130d36afd11125fa9f2693f4474b583ca0a..3b5d3dcccb52c3513e4f5f6de2dfe9da244f3c21 100644 GIT binary patch delta 186 zcmZoTz}j$tRV>LM%+puFQqO<^2m}}ynuIPTv)$e(CMCouvDr}QvM#S34+Fz4AO^`w zOcr#|wiM%IV0g#N!0;A`?*j3DAf67ySwNf$#KAxu1jOn<{12$}FA(nsnX`#>afu)R D#~3Vp delta 157 zcmZoTz}j$tRV>LM%+puFQqO<^2m}}yVudax-@dg`OiGARY_p-zWnJE69tMW%Kn#)< zn=I&{ZOO&Q!0?Ngf#D7iZvoU~ mBBR3Q?LKCVlg0epxb=!s6H{_B^HPg7nxp-;NBc1@6$Aj!Q6)S8 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 c51e753c7..63f5b290e 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 @@ -1591,7 +1591,9 @@ 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') - with open('/workspace/icefall/egs/librispeech/ASR/tc_big.pl', 'r').readlines() as pl_texts: + with open('/workspace/icefall/egs/librispeech/ASR/tc_big.pl', 'r') as pl_texts: + pl_texts = pl_texts.readlines() + pl = {} for text in pl_texts: text = text.strip().split()