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

IndexError: index -1 is out of bounds for axis 0 with size 0 #217

Open
YJJ0829 opened this issue Nov 8, 2024 · 1 comment
Open

IndexError: index -1 is out of bounds for axis 0 with size 0 #217

YJJ0829 opened this issue Nov 8, 2024 · 1 comment

Comments

@YJJ0829
Copy link

YJJ0829 commented Nov 8, 2024

File "~/SoftGroup-main/softgroup/evaluation/instance_eval.py", line 161, in evaluate_matches
num_true_examples = y_true_sorted_cumsum[-1]
IndexError: index -1 is out of bounds for axis 0 with size 0

@chuhongqi
Copy link

I have this mistake too.Have you solved it now?

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

2 participants