-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
unorderable types: str() >= int() and unsupported operand type(s) for -: 'int' and 'str' #682
Comments
Try adding Regarding the problem, judging from the stacktrace it looks like the first error originates from
i.e. from a step where you try to remove some bounding boxes. |
Thanks for your help !!
I understand that the problem come from the BlendAlpha augmenters but I don't really understand the origin of the error. Thanks in advance !! |
I'm using the 0.2.9 version (don't know why neither anaconda or pip don't upgrade the package to the 0.4.0 version)
and when I use some augmenters I nearly always fall on that kind of error. The only augmenters that are actually working for me are the Affine and Fliplr.
The augmenter that give me these errors are these one :
iaa.SaltAndPepper(0.1, per_channel=True),
iaa.Add((-40, 40), per_channel=0.5)
iaa.AdditiveGaussianNoise(scale=(0, 0.2*255)),
iaa.Multiply((0.5, 1.5), per_channel=0.5),
iaa.AverageBlur(k=((5, 11), (1, 3))),
iaa.WithColorspace(to_colorspace="HSV",from_colorspace="RGB",children=iaa.WithChannels(0,iaa.Add((0, 50)))),
iaa.AddToHueAndSaturation((-50, 50), per_channel=True)
The errors :
or
Thanks in advance for the help !
The text was updated successfully, but these errors were encountered: