wenet_cpu_runtime_benchmark / start_client.sh
root
update test scripts
a313e10
raw
history blame contribute delete
548 Bytes
log_dir=./aishell1_fp32_ctc_wfst_search
mkdir -p $log_dir
for i in 512 256 128 64 32 16;do
# prepare data
# apt-get install git-lfs
# git-lfs install
# git clone https://huggingface.co/csukuangfj/aishell-test-dev-manifests
# sudo mkdir -p ./aishell-test-dev-manifests/aishell
# tar xf ./aishell-test-dev-manifests/data_aishell.tar.gz -C ./aishell-test-dev-manifests/aishell
python3 performance-ws.py \
-u ws://127.0.0.1:10086 \
-w ./wav.scp \
-t ./text \
-s ./predict.txt \
-n $i \
-l ${log_dir}/log-num-task-${i}.txt
done