Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
cc02b007
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 2 年 前同步成功
通知
210
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
cc02b007
编写于
3月 23, 2023
作者:
小湉湉
提交者:
GitHub
3月 23, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix paddle2onnx's install version, install the newest paddle2onnx in run.sh (#3084)
上级
6894a2a7
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
10 addition
and
40 deletion
+10
-40
examples/aishell3/tts3/run.sh
examples/aishell3/tts3/run.sh
+1
-4
examples/canton/tts3/run.sh
examples/canton/tts3/run.sh
+1
-4
examples/csmsc/tts2/run.sh
examples/csmsc/tts2/run.sh
+1
-4
examples/csmsc/tts3/run.sh
examples/csmsc/tts3/run.sh
+1
-4
examples/csmsc/tts3/run_cnndecoder.sh
examples/csmsc/tts3/run_cnndecoder.sh
+2
-8
examples/csmsc/vits/run.sh
examples/csmsc/vits/run.sh
+1
-4
examples/ljspeech/tts3/run.sh
examples/ljspeech/tts3/run.sh
+1
-4
examples/vctk/tts3/run.sh
examples/vctk/tts3/run.sh
+1
-4
examples/zh_en_tts/tts3/run.sh
examples/zh_en_tts/tts3/run.sh
+1
-4
未找到文件。
examples/aishell3/tts3/run.sh
浏览文件 @
cc02b007
...
...
@@ -43,10 +43,7 @@ fi
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_aishell3
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_aishell3
...
...
examples/canton/tts3/run.sh
浏览文件 @
cc02b007
...
...
@@ -46,10 +46,7 @@ fi
# we have only tested the following models so far
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
../../csmsc/tts3/local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_canton
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
# ./local/paddle2onnx.sh ${train_output_path} inference inference_onnx pwgan_csmsc
...
...
examples/csmsc/tts2/run.sh
浏览文件 @
cc02b007
...
...
@@ -45,10 +45,7 @@ fi
# we have only tested the following models so far
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx speedyspeech_csmsc
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_csmsc
...
...
examples/csmsc/tts3/run.sh
浏览文件 @
cc02b007
...
...
@@ -45,10 +45,7 @@ fi
# we have only tested the following models so far
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_csmsc
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_csmsc
...
...
examples/csmsc/tts3/run_cnndecoder.sh
浏览文件 @
cc02b007
...
...
@@ -58,10 +58,7 @@ fi
# paddle2onnx non streaming
if
[
${
stage
}
-le
7
]
&&
[
${
stop_stage
}
-ge
7
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_csmsc
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_csmsc
...
...
@@ -77,10 +74,7 @@ fi
# paddle2onnx streaming
if
[
${
stage
}
-le
9
]
&&
[
${
stop_stage
}
-ge
9
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
# streaming acoustic model
./local/paddle2onnx.sh
${
train_output_path
}
inference_streaming inference_onnx_streaming fastspeech2_csmsc_am_encoder_infer
./local/paddle2onnx.sh
${
train_output_path
}
inference_streaming inference_onnx_streaming fastspeech2_csmsc_am_decoder
...
...
examples/csmsc/vits/run.sh
浏览文件 @
cc02b007
...
...
@@ -45,10 +45,7 @@ fi
# # we have only tested the following models so far
# if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then
# # install paddle2onnx
# version=$(echo `pip list |grep "paddle2onnx"` |awk -F" " '{print $2}')
# if [[ -z "$version" || ${version} != '1.0.0' ]]; then
# pip install paddle2onnx==1.0.0
# fi
# pip install paddle2onnx --upgrade
# ./local/paddle2onnx.sh ${train_output_path} inference inference_onnx vits_csmsc
# fi
...
...
examples/ljspeech/tts3/run.sh
浏览文件 @
cc02b007
...
...
@@ -45,10 +45,7 @@ fi
# we have only tested the following models so far
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_ljspeech
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_ljspeech
...
...
examples/vctk/tts3/run.sh
浏览文件 @
cc02b007
...
...
@@ -43,10 +43,7 @@ fi
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_vctk
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_vctk
...
...
examples/zh_en_tts/tts3/run.sh
浏览文件 @
cc02b007
...
...
@@ -46,10 +46,7 @@ fi
if
[
${
stage
}
-le
5
]
&&
[
${
stop_stage
}
-ge
5
]
;
then
# install paddle2onnx
version
=
$(
echo
`
pip list |grep
"paddle2onnx"
`
|awk
-F
" "
'{print $2}'
)
if
[[
-z
"
$version
"
||
${
version
}
!=
'1.0.0'
]]
;
then
pip
install
paddle2onnx
==
1.0.0
fi
pip
install
paddle2onnx
--upgrade
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx fastspeech2_mix
# considering the balance between speed and quality, we recommend that you use hifigan as vocoder
./local/paddle2onnx.sh
${
train_output_path
}
inference inference_onnx pwgan_aishell3
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录