From ab653d3871f72f7f6cd1ac3126b3df722f4c7943 Mon Sep 17 00:00:00 2001
From: aky15 <ankeyu.aky@11.17.44.249>
Date: 星期五, 20 十月 2023 15:33:09 +0800
Subject: [PATCH] add rwkv encoder
---
egs_modelscope/asr/TEMPLATE/infer.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/egs_modelscope/asr/TEMPLATE/infer.sh b/egs_modelscope/asr/TEMPLATE/infer.sh
index cbbe5e6..ef49d7a 100644
--- a/egs_modelscope/asr/TEMPLATE/infer.sh
+++ b/egs_modelscope/asr/TEMPLATE/infer.sh
@@ -36,7 +36,7 @@
done
perl utils/split_scp.pl ${data_dir}/wav.scp ${split_scps}
-if -n ${checkpoint_dir}; then
+if [ -n "${checkpoint_dir}" ]; then
python utils/prepare_checkpoint.py ${model} ${checkpoint_dir} ${checkpoint_name}
model=${checkpoint_dir}/${model}
fi
--
Gitblit v1.9.1