Skip to content

Commit

Permalink
add without hotwords test
Browse files Browse the repository at this point in the history
  • Loading branch information
HalFTeen committed Aug 31, 2023
1 parent 499acbe commit d40fe0a
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/scripts/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -572,6 +586,6 @@ time $EXE \
$repo/hotwords.wav \
4 \
modified_beam_search \
$repo/hotwords.txt
$repo/hotwords.txt 1.6

rm -rf $repo

0 comments on commit d40fe0a

Please sign in to comment.