You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: Internal tests are failing on test_transforms.py::TestAccImage::test_accimage_crop with the following error:
AttributeError: 'accimage.Image' object has no attribute 'getbands'
It points to the following function:
def get_dimensions(img: Any) -> List[int]:
if _is_pil_image(img):
> channels = len(img.getbands())
E AttributeError: 'accimage.Image' object has no attribute 'getbands'
from functional_pil.py which was added in this #5487.