You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.')
The text was updated successfully, but these errors were encountered:
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.')
The text was updated successfully, but these errors were encountered: