Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Training Issue #250

Open
vitusdama opened this issue Jul 26, 2022 · 3 comments
Open

Training Issue #250

vitusdama opened this issue Jul 26, 2022 · 3 comments

Comments

@vitusdama
Copy link

vitusdama commented Jul 26, 2022

Hi, I tried to train using CSV and there's a problem in csv_eval like this:

IndexError: index -1 is out of bounds for axis 0 with size 0 in line 240 of csv_eval
238 label_name = generator.label_to_name(label)
239 print('{}: {}'.format(label_name, average_precisions[label][0]))
--> 240 print("Precision: ",precision[-1])
241 print("Recall: ",recall[-1])
242

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

anyone can help to fix this? Thank you very much

@nekodondon
Copy link

have you solved this problem?

@Dickoabc123
Copy link

hey @vitusdama @nekodondon did you solve this?
I'm getting this error:
csv_eval.py", line 240, in evaluate
print("Precision: ",precision[-1])
IndexError: index -1 is out of bounds for axis 0 with size 0

@Dickoabc123
Copy link

Hi, I tried to train using CSV and there's a problem in csv_eval like this:

IndexError: index -1 is out of bounds for axis 0 with size 0 in line 240 of csv_eval 238 label_name = generator.label_to_name(label) 239 print('{}: {}'.format(label_name, average_precisions[label][0])) --> 240 print("Precision: ",precision[-1]) 241 print("Recall: ",recall[-1]) 242

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

anyone can help to fix this? Thank you very much

hi there, did you manage to resolve this issue ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants