We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In evaluate.py line 159:
evaluate.py
if isinstance(scores[0], tuple):
I would suggest considering the NoneType scenario, e.g., in OFA/utils/eval_utils.py line 55.
NoneType
OFA/utils/eval_utils.py
So it will be bug-free if you modify evaluate.py line 159 as below:
if scores and isinstance(scores[0], tuple):
The text was updated successfully, but these errors were encountered:
Good! Review has started yet.
Sorry, something went wrong.
No branches or pull requests
In
evaluate.py
line 159:I would suggest considering the
NoneType
scenario, e.g., inOFA/utils/eval_utils.py
line 55.So it will be bug-free if you modify
evaluate.py
line 159 as below:The text was updated successfully, but these errors were encountered: