Unverified Commit fccfcb6f authored by Leymore's avatar Leymore Committed by GitHub
Browse files

fix summary default (#483)

parent 6317da08
......@@ -99,7 +99,7 @@ def get_config_from_arg(args) -> Config:
run_cfg=dict(num_gpus=args.num_gpus))
models.append(model)
summarizer = None
summarizer = {}
if args.summarizer:
summarizers_dir = os.path.join(args.config_dir, 'summarizers')
s = match_cfg_file(summarizers_dir, [args.summarizer])[0]
......
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