baaivision / EVA

EVA Series: Visual Representation Fantasies from BAAI
MIT License
2.32k stars 167 forks source link

AttributeError: module 'PIL.Image' has no attribute 'LINEAR'. Did you mean: 'BILINEAR'? #162

Open dgcnz opened 4 months ago

dgcnz commented 4 months ago

When running EVA on COCO as per the docs, Pillow throws an error because the copy of detectron2 uses the deprecated PIL.Image.LINEAR.

This issue has been handled in the original detectron2 here: https://github.com/facebookresearch/detectron2/issues/5010

This raises two questions:

Thanks :^)