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

Run UD1 #6

Open
Apollo2Mars opened this issue Dec 3, 2020 · 0 comments
Open

Run UD1 #6

Apollo2Mars opened this issue Dec 3, 2020 · 0 comments

Comments

@Apollo2Mars
Copy link

Traceback (most recent call last):
File "twasp_main.py", line 700, in
main()
File "twasp_main.py", line 690, in main
train(args)
File "twasp_main.py", line 284, in train
(wp, wr, wf), (pp, pr, pf) = pos_evaluate_word_PRF(y_pred_all, y_true_all)
File "/export/home/sunhongchao1/zlzk/TwASP/twasp_eval.py", line 105, in pos_evaluate_word_PRF
pP = precision_score(y, y_pred)
File "/export/home/sunhongchao1/anaconda3/envs/env_py36_torch17/lib/python3.6/site-packages/seqeval/metrics/sequence_labeling.py", line 487, in precision_score
suffix=suffix)
File "/export/home/sunhongchao1/anaconda3/envs/env_py36_torch17/lib/python3.6/site-packages/seqeval/metrics/sequence_labeling.py", line 139, in precision_recall_fscore_support
extract_tp_actual_correct=extract_tp_actual_correct
File "/export/home/sunhongchao1/anaconda3/envs/env_py36_torch17/lib/python3.6/site-packages/seqeval/metrics/v1.py", line 122, in _precision_recall_fscore_support
check_consistent_length(y_true, y_pred)
File "/export/home/sunhongchao1/anaconda3/envs/env_py36_torch17/lib/python3.6/site-packages/seqeval/metrics/v1.py", line 97, in check_consistent_length
raise TypeError('Found input variables without list of list.')

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