Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Fix summary default #483

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Conversation

Leymore
Copy link
Collaborator

@Leymore Leymore commented Oct 17, 2023

In case of the following error, where summarizer is set to None

Traceback (most recent call last):
  File "/mnt/hwfile/zhoufengzhe/repos/prs/opencompass/run.py", line 329, in <module>
    main()
  File "/mnt/hwfile/zhoufengzhe/repos/prs/opencompass/run.py", line 322, in main
    summarizer_cfg['type'] = DefaultSummarizer
TypeError: 'NoneType' object does not support item assignment

Copy link
Collaborator

@tonysy tonysy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tonysy tonysy merged commit fccfcb6 into open-compass:main Oct 17, 2023
3 checks passed
liushz pushed a commit to liushz/opencompass that referenced this pull request Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants