Skip to content

Commit

Permalink
add onnxruntime infer for cli
Browse files Browse the repository at this point in the history
  • Loading branch information
yt605155624 committed Aug 4, 2022
1 parent 070a08f commit b9ade18
Show file tree
Hide file tree
Showing 16 changed files with 450 additions and 281 deletions.
2 changes: 1 addition & 1 deletion examples/aishell3/tts3/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then

fi

# inference with onnxruntime, use fastspeech2 + hifigan by default
# inference with onnxruntime, use fastspeech2 + pwgan by default
if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then
./local/ort_predict.sh ${train_output_path}
fi
2 changes: 1 addition & 1 deletion examples/ljspeech/tts3/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then
# ./local/paddle2onnx.sh ${train_output_path} inference inference_onnx hifigan_ljspeech
fi

# inference with onnxruntime, use fastspeech2 + hifigan by default
# inference with onnxruntime, use fastspeech2 + pwgan by default
if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then
./local/ort_predict.sh ${train_output_path}
fi
2 changes: 1 addition & 1 deletion examples/vctk/tts3/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then

fi

# inference with onnxruntime, use fastspeech2 + hifigan by default
# inference with onnxruntime, use fastspeech2 + pwgan by default
if [ ${stage} -le 6 ] && [ ${stop_stage} -ge 6 ]; then
./local/ort_predict.sh ${train_output_path}
fi
Loading

0 comments on commit b9ade18

Please sign in to comment.