conlleval icon indicating copy to clipboard operation
conlleval copied to clipboard

ValueError: not enough values to unpack (expected 2, got 1)

Open TanayKarve opened this issue 2 years ago • 0 comments

Getting this error when using arbitrary tags like , , etc.

count_chunks(true_seqs, pred_seqs)
129
130 _, true_type = split_tag(true_tag)
--> 131 _, pred_type = split_tag(pred_tag)
132
133 if correct_chunk is not None:

ValueError: not enough values to unpack (expected 2, got 1)

I believe this happens if tags don't have a "-" in them or aren't an "O".

TanayKarve avatar May 27 '22 09:05 TanayKarve