Commit 9abf3fb0 authored by WenmuZhou's avatar WenmuZhou
Browse files

fix merge config error

parent 443de015
...@@ -76,7 +76,7 @@ def main(): ...@@ -76,7 +76,7 @@ def main():
} }
FLAGS = ArgsParser().parse_args() FLAGS = ArgsParser().parse_args()
config = load_config(FLAGS.config) config = load_config(FLAGS.config)
merge_config(FLAGS.opt) config = merge_config(config, FLAGS.opt)
logger = get_logger() logger = get_logger()
# build post process # build post process
......
...@@ -85,7 +85,7 @@ def export_single_model(model, arch_config, save_path, logger): ...@@ -85,7 +85,7 @@ def export_single_model(model, arch_config, save_path, logger):
def main(): def main():
FLAGS = ArgsParser().parse_args() FLAGS = ArgsParser().parse_args()
config = load_config(FLAGS.config) config = load_config(FLAGS.config)
merge_config(FLAGS.opt) config = merge_config(config, FLAGS.opt)
logger = get_logger() logger = get_logger()
# build post process # build post process
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment