shivaat/MTLB-STRUCT

About F1 problem (Found input variables without list of list)

Closed this issue · 4 comments

When I runed your codes, it raised TypeError:

raise TypeError('Found input variables without list of list.') TypeError: Found input variables without list of list.

The bug may be located in berteval.py (line 117).

fscore = f1_score(valid_tags, pred_tags)

image

Hi WinnyGD,
Thanks for raising the issue. I think it has to do with some change in the new versions of seqeval framework. I'll try to solve it today or tomorrow.

OK! Thank~
It is highly recommended that you upload your requirements.txt.
I can know what version you use.

All done!

Good Job!