From 75052b2687a286787397d2584172983eb4cf12f2 Mon Sep 17 00:00:00 2001 From: lu_cao Date: Wed, 22 Aug 2018 14:04:17 +0800 Subject: [PATCH] Fixing bug in parameter definition. --- run_demo_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_demo_server.py b/run_demo_server.py index 9f4ee766..6e1d5712 100755 --- a/run_demo_server.py +++ b/run_demo_server.py @@ -211,7 +211,7 @@ def main(): global checkpoint_path parser = argparse.ArgumentParser() parser.add_argument('--port', default=8769, type=int) - parser.add_argument('--checkpoint-path', default=checkpoint_path) + parser.add_argument('--checkpoint_path', default=checkpoint_path) parser.add_argument('--debug', action='store_true') args = parser.parse_args() checkpoint_path = args.checkpoint_path