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

ERROR: multi_class must be in ('ovo', 'ovr') #6

Open
GinkgoX opened this issue Aug 21, 2020 · 0 comments
Open

ERROR: multi_class must be in ('ovo', 'ovr') #6

GinkgoX opened this issue Aug 21, 2020 · 0 comments

Comments

@GinkgoX
Copy link

GinkgoX commented Aug 21, 2020

Dear HzFu:
Have you ever met with the following ERROR?

Traceback (most recent call last):
  File "test.py", line 144, in <module>
    fast_test(model, args, test_img_list, model_name)
  File "test.py", line 102, in fast_test
    Auc = roc_auc_score(tmp_gt, tmp_out)
  File "/site-packages/sklearn/metrics/_ranking.py", line 381, in roc_auc_score
    raise ValueError("multi_class must be in ('ovo', 'ovr')")
ValueError: multi_class must be in ('ovo', 'ovr')

So puzzled????

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

No branches or pull requests

1 participant