AGNet icon indicating copy to clipboard operation
AGNet copied to clipboard

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

Open GinkgoX opened this issue 5 years ago • 0 comments

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????

GinkgoX avatar Aug 21 '20 09:08 GinkgoX