From d40fe0ac735d72da27e6aebafdf75a5dea03ac00 Mon Sep 17 00:00:00 2001 From: HalFTeen <945886219@qq.com> Date: Thu, 31 Aug 2023 10:23:12 +0800 Subject: [PATCH] add without hotwords test --- .github/scripts/run-test.sh | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/scripts/run-test.sh b/.github/scripts/run-test.sh index 0e60e52e..8e3350fc 100755 --- a/.github/scripts/run-test.sh +++ b/.github/scripts/run-test.sh @@ -557,10 +557,24 @@ pushd $repo git lfs pull --include "encoder_jit_trace-pnnx.ncnn.bin" git lfs pull --include "decoder_jit_trace-pnnx.ncnn.bin" git lfs pull --include "joiner_jit_trace-pnnx.ncnn.bin" - popd -log "----test $m ---" + +log "----test $m without hotwords---" +time $EXE \ + $repo/tokens.txt \ + $repo/encoder_jit_trace-pnnx.ncnn.param \ + $repo/encoder_jit_trace-pnnx.ncnn.bin \ + $repo/decoder_jit_trace-pnnx.ncnn.param \ + $repo/decoder_jit_trace-pnnx.ncnn.bin \ + $repo/joiner_jit_trace-pnnx.ncnn.param \ + $repo/joiner_jit_trace-pnnx.ncnn.bin \ + $repo/hotwords.wav \ + 4 \ + modified_beam_search + + +log "----test $m with hotwords---" time $EXE \ $repo/tokens.txt \ $repo/encoder_jit_trace-pnnx.ncnn.param \ @@ -572,6 +586,6 @@ time $EXE \ $repo/hotwords.wav \ 4 \ modified_beam_search \ - $repo/hotwords.txt + $repo/hotwords.txt 1.6 rm -rf $repo \ No newline at end of file