'bool' object has no attribute 'to_deterministic'
@waleedka Setting augmentation to True in load_image_gt Gives the error 'bool' object has no attribute 'to_deterministic'
That's caused by
det = augmentation.to_deterministic()
Why would you want to convert a boolian ?
Just as load_image_gt() says,
augmentation: Optional. An imgaug (https://github.com/aleju/imgaug) augmentation.
one should pass a imgaug augmentation object rather than a boolean object into this argument.
Here's the example:
augmentation = imgaug.augmenters.Fliplr(0.5)
what should we change, then? @AloshkaD @keineahnung2345
@javierfs If you don't want to do image augmentation, just pass augmentation=None. Otherwise you should pass something like imgaug.augmenters.Fliplr(0.5) to data_generator.
Did you manage to solve it @AloshkaD ? I have the same error now
@keineahnung2345 Do you solve it?