提交 d6eb34f6 编写于 作者: littletomatodonkey's avatar littletomatodonkey

fix infer

上级 916cec34
......@@ -188,12 +188,13 @@ def main(args):
if __name__ == "__main__":
args = utility.parse_args()
if args.use_mp:
print("12233")
p_list = []
total_process_num = args.total_process_num
for process_id in range(total_process_num):
cmd = [sys.executable, "-u"] + sys.argv + [
"--process_id={} ".format(process_id),
"--use_mp={} ".format(args.use_mp)
"--process_id={}".format(process_id),
"--use_mp={}".format(False)
]
p = subprocess.Popen(cmd, stdout=sys.stdout, stderr=sys.stdout)
p_list.append(p)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册