fix scoring gpu id
This commit is contained in:
parent
a718ed39c5
commit
da9fb3d22c
@ -98,7 +98,7 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
|
|||||||
# Compute posterior score
|
# Compute posterior score
|
||||||
result_dir=$dir/test_$(basename $score_checkpoint)
|
result_dir=$dir/test_$(basename $score_checkpoint)
|
||||||
mkdir -p $result_dir
|
mkdir -p $result_dir
|
||||||
python kws/bin/score.py --gpu 0 \
|
python kws/bin/score.py --gpu $gpu_id \
|
||||||
--config $dir/config.yaml \
|
--config $dir/config.yaml \
|
||||||
--test_data data/test/data.list \
|
--test_data data/test/data.list \
|
||||||
--batch_size 256 \
|
--batch_size 256 \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user