nervaluate icon indicating copy to clipboard operation
nervaluate copied to clipboard

Not enough values to unpack (Evaluator)

Open TessDejaeghere opened this issue 1 year ago • 2 comments

Hi all!

I tried applying the Evaluator to my nested list entities, but it only returns "results" and "results_by_tag".

evaluator = Evaluator(true, predicted, tags=['FAUNA', 'FLORA'], loader="list") results, results_by_tag, result_indices, result_indices_by_tag = evaluator.evaluate()

Error:

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

Any idea how I can fix this? Or am I missing something? :) Thank you!

TessDejaeghere avatar Jun 24 '24 13:06 TessDejaeghere

Hi @TessDejaeghere

Can you tell us which version of nervaluate you are running and the content of trueand predictedso that we can replicate the error.

Also, currently, nervaluate doesn't support nested entities.

davidsbatista avatar Jun 27 '24 08:06 davidsbatista

Hi @davidsbatista when you say that nervaluate doesn't support nested entities. Are you referring to the pip version 0.2.0.?

sros-UNED avatar Nov 06 '24 11:11 sros-UNED

@sros-UNED all versions, we still don't support nested entities.

davidsbatista avatar Jun 05 '25 23:06 davidsbatista