baaivision / EVA

EVA Series: Visual Representation Fantasies from BAAI
MIT License
2.24k stars 165 forks source link

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

Open dgcnz opened 2 months ago

dgcnz commented 2 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 :^)