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

classification_report error #26

Open
ljg-lixufeng opened this issue Dec 30, 2020 · 0 comments
Open

classification_report error #26

ljg-lixufeng opened this issue Dec 30, 2020 · 0 comments

Comments

@ljg-lixufeng
Copy link

File "multitask_finetune.py", line 160, in main
tnews_report = classification_report(all_tnews_gts, all_tnews_preds, digits=4)
File "/usr/local/lib64/python3.6/site-packages/sklearn/metrics/classification.py", line 1568, in classification_report
name_width = max(len(cn) for cn in target_names)
ValueError: max() arg is an empty sequence

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