|
|
|
@ -54,16 +54,16 @@ fi
|
|
|
|
|
# ./local/ort_predict.sh ${train_output_path}
|
|
|
|
|
# fi
|
|
|
|
|
|
|
|
|
|
# # not ready yet for operator missing in Paddle-Lite
|
|
|
|
|
# # must run after stage 3 (which stage generated static models)
|
|
|
|
|
# if [ ${stage} -le 7 ] && [ ${stop_stage} -ge 7 ]; then
|
|
|
|
|
# # NOTE by yuantian 2022.11.21: please compile develop version of Paddle-Lite to export and run TTS models,
|
|
|
|
|
# # cause TTS models are supported by https://github.com/PaddlePaddle/Paddle-Lite/pull/9587
|
|
|
|
|
# # and https://github.com/PaddlePaddle/Paddle-Lite/pull/9706
|
|
|
|
|
# ./local/export2lite.sh ${train_output_path} inference pdlite vits_csmsc x86
|
|
|
|
|
# fi
|
|
|
|
|
# not ready yet for operator missing in Paddle-Lite
|
|
|
|
|
# must run after stage 3 (which stage generated static models)
|
|
|
|
|
if [ ${stage} -le 7 ] && [ ${stop_stage} -ge 7 ]; then
|
|
|
|
|
# NOTE by yuantian 2022.11.21: please compile develop version of Paddle-Lite to export and run TTS models,
|
|
|
|
|
# cause TTS models are supported by https://github.com/PaddlePaddle/Paddle-Lite/pull/10128
|
|
|
|
|
# vits can only run in arm
|
|
|
|
|
./local/export2lite.sh ${train_output_path} inference pdlite vits_csmsc arm
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# if [ ${stage} -le 8 ] && [ ${stop_stage} -ge 8 ]; then
|
|
|
|
|
# CUDA_VISIBLE_DEVICES=${gpus} ./local/lite_predict.sh ${train_output_path} || exit -1
|
|
|
|
|
# fi
|
|
|
|
|
if [ ${stage} -le 8 ] && [ ${stop_stage} -ge 8 ]; then
|
|
|
|
|
CUDA_VISIBLE_DEVICES=${gpus} ./local/lite_predict.sh ${train_output_path} || exit -1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|