-
Notifications
You must be signed in to change notification settings - Fork 2
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
ginjinn predict IndexError: list index out of range #4
Comments
Hello, |
Hi Mareike, |
Hello, |
It seems in rare cases (e.g. after only short training) categories are predicted which should not exist. (You can verify this in your prediction directory with
Here, <n> should be replaced by the number of categories, e.g. 1 if you only have a single leaf class. |
Hello, |
It can be, but not necessarily. On the other hand, a large number of images/objects also makes the error more likely, so I would instead focus on the model performance (AP scores etc.) to decide on the number of training iterations. |
Hello,
I am receiving an error with ginjinn predict in one of the datasets I am running it one. The error occurs at what is equivalent to the last step of the calculation from the example application "Leucanthemum leaf segmentation" from the docs. I have predicted from a bounding box model and cropped my images to the detected bounding boxes. Then I am predicting from a segmentation model. The prediction step runs to completion, but the refinement and output generation aborts after processing 2% of the data. Accordingly, I have ~1.300 input images, but only 32 images in my output folder.
The error did not occur with another dataset I was working on at the same time and I used the same script on.
The exact error message is:
What could cause this error to occur?
The text was updated successfully, but these errors were encountered: