parent
33f0e7622c
commit
6e1ac1cc15
@ -1,13 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
device=$1
|
||||
audio_file=$2
|
||||
ckpt_dir=$3
|
||||
feat_backend=$4
|
||||
audio_file=$1
|
||||
ckpt_dir=$2
|
||||
feat_backend=$3
|
||||
|
||||
python3 ${BIN_DIR}/predict.py \
|
||||
--device ${device} \
|
||||
--wav ${audio_file} \
|
||||
--feat_backend ${feat_backend} \
|
||||
--top_k 10 \
|
||||
--checkpoint ${ckpt_dir}/model.pdparams
|
||||
--checkpoint ${ckpt_dir}/model.pdparams
|
||||
|
Loading…
Reference in new issue