test.sh 301 字节
Newer Older
H
Hui Zhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12
#! /usr/bin/env bash

# download language model
bash local/download_lm_ch.sh
if [ $? -ne 0 ]; then
    exit 1
fi

python3 -u ${BIN_DIR}/test.py \
--device 'gpu' \
--nproc 1 \
--config conf/deepspeech2.yaml \
13
--output ckpt
H
Hui Zhang 已提交
14 15 16 17 18 19 20 21

if [ $? -ne 0 ]; then
    echo "Failed in evaluation!"
    exit 1
fi


exit 0