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(CLI): Fix #24 by only shows agreement results when label column is present #26

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

iruan29
Copy link
Collaborator

@iruan29 iruan29 commented Mar 10, 2025

Fix #24.

What does this PR do?
After this fix, the evaluator will not print the metrics between preds and the annotation when there's no label present in the dataset.

Please check all applicable items before submitting:

  • Have you read the contributing guidelines?
  • Does this PR only fix typos or improve the documentation (you can skip the other checks if that's the case)?
  • Is this PR related to a GitHub issue? If so, have you linked to it?
  • Have you written any necessary new tests?
  • Have all tests passed in your development environment, both existing and new?
  • Have you updated the documentation with your changes?
  • Have you run the pre-commit checks for code quality?

change main.py
Copy link
Collaborator

@eggry eggry left a comment

Choose a reason for hiding this comment

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

Nice work! Please address this comment.

@eggry eggry changed the title Revise main.py via upload fix(CLI): Fix #24 by only shows agreement results when label column is present Mar 11, 2025
@eggry eggry merged commit fa70a11 into main Mar 11, 2025
5 checks passed
@eggry
Copy link
Collaborator

eggry commented Mar 11, 2025

Thanks for the contribution:)

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.

[BUG]When there is no label column in the dataset, an evaluation error is raised
2 participants