提交 acb19cf4 编写于 作者: Z Zhangjingyu06

deepspeech2 modify for kunlun

上级 b0eaeccd
......@@ -41,6 +41,7 @@ if __name__ == "__main__":
'--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))
......
......@@ -41,6 +41,7 @@ if __name__ == "__main__":
'--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())
......
......@@ -44,6 +44,7 @@ if __name__ == "__main__":
'--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")
......
......@@ -37,6 +37,7 @@ if __name__ == "__main__":
'--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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册