frank-xwang / UnSAM

[NeurIPS 2024] Code release for "Segment Anything without Supervision"
423 stars 28 forks source link

Colab with CUDA broken Pillow install #14

Open tteresi7 opened 1 month ago

tteresi7 commented 1 month ago

Colab installs Pillow version 10.5.0 when uncommenting the GPU lines. You need before 9.5.0 otherwise the following error occurs

AttributeError: module 'PIL.Image' has no attribute 'LINEAR' when performing imports

tteresi7 commented 1 month ago

Actually it seems no matter what I do it's still referencing 10.5.0. I've tried uninstalling it with pip, it can't find it, I've tried reseting run time. No matter what it just keeps importing 10.5.0 somehow. Maybe a google colab issue?