Open yunqing opened 7 years ago
Hi, thanks for opening the issue, I think the problem there is that you are applying a max_left_rotation
of 50
and that may well result in a malformed image due to the way Augmentor performs cropping on the rotated images by default.
This is because Augmentor rotates and then extracts the maximum crop possible of the same dimensions as the input image, and depending on the dimensions of this input image and the rotation applied, you may not get valid images as output.
Take a look at http://augmentor.readthedocs.io/en/master/code.html#Augmentor.Pipeline.Pipeline.rotate.
Sometimes, you can get a black image after rotate the image.