-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
159 changed files
with
11,052 additions
and
1,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# 目录 | ||
build/ | ||
output/ | ||
libs/ | ||
models/ | ||
|
||
# 符号连接 | ||
dict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/TTSCppFrontend/build-depends.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,29 @@ | ||
#!/bin/bash | ||
set -e | ||
set -x | ||
|
||
cd "$(dirname "$(realpath "$0")")" | ||
|
||
BASE_DIR="$PWD" | ||
|
||
# load configure | ||
. ./config.sh | ||
|
||
# build | ||
echo "ARM_ABI is ${ARM_ABI}" | ||
echo "PADDLE_LITE_DIR is ${PADDLE_LITE_DIR}" | ||
|
||
rm -rf build | ||
mkdir -p build | ||
cd build | ||
echo "Build depends..." | ||
./build-depends.sh "$@" | ||
|
||
mkdir -p "$BASE_DIR/build" | ||
cd "$BASE_DIR/build" | ||
cmake -DPADDLE_LITE_DIR="${PADDLE_LITE_DIR}" -DARM_ABI="${ARM_ABI}" ../src | ||
make | ||
|
||
if [ "$*" = "" ]; then | ||
make -j$(nproc) | ||
else | ||
make "$@" | ||
fi | ||
|
||
echo "make successful!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# jieba conf | ||
--jieba_dict_path=./dict/jieba/jieba.dict.utf8 | ||
--jieba_hmm_path=./dict/jieba/hmm_model.utf8 | ||
--jieba_user_dict_path=./dict/jieba/user.dict.utf8 | ||
--jieba_idf_path=./dict/jieba/idf.utf8 | ||
--jieba_stop_word_path=./dict/jieba/stop_words.utf8 | ||
|
||
# dict conf fastspeech2_0.4 | ||
--seperate_tone=false | ||
--word2phone_path=./dict/fastspeech2_nosil_baker_ckpt_0.4/word2phone_fs2.dict | ||
--phone2id_path=./dict/fastspeech2_nosil_baker_ckpt_0.4/phone_id_map.txt | ||
--tone2id_path=./dict/fastspeech2_nosil_baker_ckpt_0.4/word2phone_fs2.dict | ||
|
||
# dict conf speedyspeech_0.5 | ||
#--seperate_tone=true | ||
#--word2phone_path=./dict/speedyspeech_nosil_baker_ckpt_0.5/word2phone.dict | ||
#--phone2id_path=./dict/speedyspeech_nosil_baker_ckpt_0.5/phone_id_map.txt | ||
#--tone2id_path=./dict/speedyspeech_nosil_baker_ckpt_0.5/tone_id_map.txt | ||
|
||
# dict of tranditional_to_simplified | ||
--trand2simpd_path=./dict/tranditional_to_simplified/trand2simp.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.