-
Notifications
You must be signed in to change notification settings - Fork 2k
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
when I used the ImageDataGenerator,I encountered a error #186
Comments
Jup, this can happen lot's basically a bounding box is augmented out of the image, and it cannot find it anymore, either lower your augmentation, or do something nasty like this: (or both)
|
Does this solve your issue? |
I have solved it ,thank you @hgaiser @de-vri-es @LaurensHagendoorn |
#190 may address this partially. There's still some open questions on how to deal with bounding boxes that get partially transformed out of the image canvas (see the inline comments). Any input there is welcome :) Since the original issue is resolved, and a more general solution should be implemented in #190, I'm closing this issue. |
The parameter of ImageDataGenerator is :
and the error is :min() arg is an empty sequence.
the error is from "keras_retinanet/utils/image.py", line 80, in random_transform
boxes[index, 0] = float(min(j))"
thank you
The text was updated successfully, but these errors were encountered: