Unverified Commit bb83e5b5 authored by Vasilis Vryniotis's avatar Vasilis Vryniotis Committed by GitHub
Browse files

Remove center from PIL affine (#5485)

parent 82f9a187
......@@ -173,7 +173,7 @@ def affine_image_pil(
center = [width * 0.5, height * 0.5]
matrix = _get_inverse_affine_matrix(center, angle, translate, scale, shear)
return _FP.affine(img, matrix, interpolation=pil_modes_mapping[interpolation], fill=fill, center=center)
return _FP.affine(img, matrix, interpolation=pil_modes_mapping[interpolation], fill=fill)
def rotate_image_tensor(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment