Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
86404108
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 1 年 前同步成功
通知
206
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
86404108
编写于
5月 09, 2022
作者:
R
root
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
replace dist.spawn with dist.launch, test=asr
上级
99473808
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
13 addition
and
34 deletion
+13
-34
examples/aishell/asr0/local/train.sh
examples/aishell/asr0/local/train.sh
+1
-2
examples/aishell/asr1/local/train.sh
examples/aishell/asr1/local/train.sh
+1
-2
examples/callcenter/asr1/local/train.sh
examples/callcenter/asr1/local/train.sh
+1
-2
examples/librispeech/asr0/local/train.sh
examples/librispeech/asr0/local/train.sh
+1
-2
examples/librispeech/asr1/local/train.sh
examples/librispeech/asr1/local/train.sh
+1
-2
examples/librispeech/asr2/local/train.sh
examples/librispeech/asr2/local/train.sh
+1
-2
examples/timit/asr1/local/train.sh
examples/timit/asr1/local/train.sh
+1
-2
examples/tiny/asr0/local/train.sh
examples/tiny/asr0/local/train.sh
+1
-2
examples/tiny/asr1/local/train.sh
examples/tiny/asr1/local/train.sh
+1
-2
paddlespeech/s2t/exps/deepspeech2/bin/train.py
paddlespeech/s2t/exps/deepspeech2/bin/train.py
+1
-4
paddlespeech/s2t/exps/u2/bin/train.py
paddlespeech/s2t/exps/u2/bin/train.py
+1
-4
paddlespeech/s2t/exps/u2_kaldi/bin/train.py
paddlespeech/s2t/exps/u2_kaldi/bin/train.py
+1
-4
paddlespeech/s2t/exps/u2_st/bin/train.py
paddlespeech/s2t/exps/u2_st/bin/train.py
+1
-4
未找到文件。
examples/aishell/asr0/local/train.sh
浏览文件 @
86404108
...
...
@@ -20,8 +20,7 @@ if [ ${seed} != 0 ]; then
export
FLAGS_cudnn_deterministic
=
True
fi
python3
-u
${
BIN_DIR
}
/train.py
\
--ngpu
${
ngpu
}
\
python3
-m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--model_type
${
model_type
}
\
...
...
examples/aishell/asr1/local/train.sh
浏览文件 @
86404108
...
...
@@ -27,9 +27,8 @@ ckpt_name=$2
mkdir
-p
exp
python3
-
u
${
BIN_DIR
}
/train.py
\
python3
-
m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--seed
${
seed
}
\
--ngpu
${
ngpu
}
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--profiler-options
"
${
profiler_options
}
"
\
...
...
examples/callcenter/asr1/local/train.sh
浏览文件 @
86404108
...
...
@@ -21,8 +21,7 @@ if [ ${seed} != 0 ]; then
export
FLAGS_cudnn_deterministic
=
True
fi
python3
-u
${
BIN_DIR
}
/train.py
\
--ngpu
${
ngpu
}
\
python3
-m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--seed
${
seed
}
...
...
examples/librispeech/asr0/local/train.sh
浏览文件 @
86404108
...
...
@@ -20,8 +20,7 @@ if [ ${seed} != 0 ]; then
export
FLAGS_cudnn_deterministic
=
True
fi
python3
-u
${
BIN_DIR
}
/train.py
\
--ngpu
${
ngpu
}
\
python3
-m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--model_type
${
model_type
}
\
...
...
examples/librispeech/asr1/local/train.sh
浏览文件 @
86404108
...
...
@@ -22,8 +22,7 @@ fi
# export FLAGS_cudnn_exhaustive_search=true
# export FLAGS_conv_workspace_size_limit=4000
python3
-u
${
BIN_DIR
}
/train.py
\
--ngpu
${
ngpu
}
\
python3
-m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--seed
${
seed
}
...
...
examples/librispeech/asr2/local/train.sh
浏览文件 @
86404108
...
...
@@ -19,9 +19,8 @@ if [ ${seed} != 0 ]; then
export
FLAGS_cudnn_deterministic
=
True
fi
python3
-
u
${
BIN_DIR
}
/train.py
\
python3
-
m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--model-name
u2_kaldi
\
--ngpu
${
ngpu
}
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--seed
${
seed
}
...
...
examples/timit/asr1/local/train.sh
浏览文件 @
86404108
...
...
@@ -19,8 +19,7 @@ if [ ${seed} != 0 ]; then
export
FLAGS_cudnn_deterministic
=
True
fi
python3
-u
${
BIN_DIR
}
/train.py
\
--ngpu
${
ngpu
}
\
python3
-m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--seed
${
seed
}
...
...
examples/tiny/asr0/local/train.sh
浏览文件 @
86404108
...
...
@@ -26,8 +26,7 @@ model_type=$3
mkdir
-p
exp
python3
-u
${
BIN_DIR
}
/train.py
\
--ngpu
${
ngpu
}
\
python3
-m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--model_type
${
model_type
}
\
...
...
examples/tiny/asr1/local/train.sh
浏览文件 @
86404108
...
...
@@ -27,9 +27,8 @@ ckpt_name=$2
mkdir
-p
exp
python3
-
u
${
BIN_DIR
}
/train.py
\
python3
-
m
paddle.distributed.launch
--gpus
=
${
CUDA_VISIBLE_DEVICES
}
${
BIN_DIR
}
/train.py
\
--seed
${
seed
}
\
--ngpu
${
ngpu
}
\
--config
${
config_path
}
\
--output
exp/
${
ckpt_name
}
\
--profiler-options
"
${
profiler_options
}
"
\
...
...
paddlespeech/s2t/exps/deepspeech2/bin/train.py
浏览文件 @
86404108
...
...
@@ -27,10 +27,7 @@ def main_sp(config, args):
def
main
(
config
,
args
):
if
args
.
ngpu
>
1
:
dist
.
spawn
(
main_sp
,
args
=
(
config
,
args
),
nprocs
=
args
.
ngpu
)
else
:
main_sp
(
config
,
args
)
main_sp
(
config
,
args
)
if
__name__
==
"__main__"
:
...
...
paddlespeech/s2t/exps/u2/bin/train.py
浏览文件 @
86404108
...
...
@@ -32,10 +32,7 @@ def main_sp(config, args):
def
main
(
config
,
args
):
if
args
.
ngpu
>
1
:
dist
.
spawn
(
main_sp
,
args
=
(
config
,
args
),
nprocs
=
args
.
ngpu
)
else
:
main_sp
(
config
,
args
)
main_sp
(
config
,
args
)
if
__name__
==
"__main__"
:
...
...
paddlespeech/s2t/exps/u2_kaldi/bin/train.py
浏览文件 @
86404108
...
...
@@ -36,10 +36,7 @@ def main_sp(config, args):
def
main
(
config
,
args
):
if
args
.
ngpu
>
1
:
dist
.
spawn
(
main_sp
,
args
=
(
config
,
args
),
nprocs
=
args
.
ngpu
)
else
:
main_sp
(
config
,
args
)
main_sp
(
config
,
args
)
if
__name__
==
"__main__"
:
...
...
paddlespeech/s2t/exps/u2_st/bin/train.py
浏览文件 @
86404108
...
...
@@ -30,10 +30,7 @@ def main_sp(config, args):
def
main
(
config
,
args
):
if
args
.
ngpu
>
1
:
dist
.
spawn
(
main_sp
,
args
=
(
config
,
args
),
nprocs
=
args
.
ngpu
)
else
:
main_sp
(
config
,
args
)
main_sp
(
config
,
args
)
if
__name__
==
"__main__"
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录