提交 9abf3fb0 编写于 作者: 文幕地方's avatar 文幕地方

fix merge config error

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册