Skip to content

Commit

Permalink
deepspeech2 modify for kunlun
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangjingyu06 committed May 24, 2022
1 parent b0eaecc commit acb19cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions paddlespeech/s2t/exps/deepspeech2/bin/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def main(config, args):
'--nxpu',
type=int,
default=0,
choices=[0, 1],
help="if nxpu == 0 and ngpu == 0, use cpu.")
args = parser.parse_args()
print("model_type:{}".format(args.model_type))
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/s2t/exps/deepspeech2/bin/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def main(config, args):
'--nxpu',
type=int,
default=0,
choices=[0, 1],
help="if nxpu == 0 and ngpu == 0, use cpu.")
args = parser.parse_args()
print_arguments(args, globals())
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/s2t/exps/deepspeech2/bin/test_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def main(config, args):
'--nxpu',
type=int,
default=0,
choices=[0, 1],
help="if nxpu == 0 and ngpu == 0, use cpu.")
parser.add_argument(
"--enable-auto-log", action="store_true", help="use auto log")
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/s2t/exps/deepspeech2/bin/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def main(config, args):
'--nxpu',
type=int,
default=0,
choices=[0, 1],
help="if nxpu == 0 and ngpu == 0, use cpu.")
args = parser.parse_args()
print("model_type:{}".format(args.model_type))
Expand Down

0 comments on commit acb19cf

Please sign in to comment.