Skip to content

Commit

Permalink
fix summary default (open-compass#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leymore authored and BunnyRunnerX committed Oct 17, 2023
1 parent 46d30df commit e98ae49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencompass/utils/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e98ae49

Please sign in to comment.