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

Not enough values to unpack (Evaluator) #78

Open
TessDejaeghere opened this issue Jun 24, 2024 · 2 comments
Open

Not enough values to unpack (Evaluator) #78

TessDejaeghere opened this issue Jun 24, 2024 · 2 comments

Comments

@TessDejaeghere
Copy link

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!

@davidsbatista
Copy link
Collaborator

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.

@sros-UNED
Copy link

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

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

3 participants