test_all.sh 1004 字节
Newer Older
L
lym0302 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#!/bin/bash
# bash test_all.sh

log_all_dir=./log

bash test.sh tts_online $log_all_dir/log_tts_online_cpu

python change_yaml.py --change_type engine_type --target_key engine_list --target_value tts_online-onnx
bash test.sh tts_online-onnx $log_all_dir/log_tts_online-onnx_cpu


python change_yaml.py --change_type device --target_key device --target_value gpu:3
bash test.sh tts_online $log_all_dir/log_tts_online_gpu

python change_yaml.py --change_type engine_type --target_key engine_list --target_value tts_online-onnx
python change_yaml.py --change_type device --target_key device --target_value gpu:3
bash test.sh tts_online-onnx $log_all_dir/log_tts_online-onnx_gpu 

echo "************************************** show all test results ****************************************"
cat $log_all_dir/log_tts_online_cpu/test_result.log
cat $log_all_dir/log_tts_online-onnx_cpu/test_result.log
cat $log_all_dir/log_tts_online_gpu/test_result.log
cat $log_all_dir/log_tts_online-onnx_gpu/test_result.log