zuruoke / watermark-removal

a machine learning image inpainting task that instinctively removes watermarks from image indistinguishable from the ground truth image
1.86k stars 291 forks source link

No module named PIL on Ubuntu 22.04 #10

Open anwarulislam opened 1 year ago

anwarulislam commented 1 year ago

I'm facing this issue on the Ubuntu server. Where I'm trying to setup this python project. Could you please make a setup guide for Ubuntu? I can't do anything. I tried it on my mac as well. No module found cv2, PIL

image
zuruoke commented 1 year ago

use google colab for reproducible result

landoncolburn commented 1 year ago

Did you pip install Pillow?

zuruoke commented 1 year ago

if you use google colab then you won't have to outrightly install cv2 and pillow, you just

from PIL import Image
import cv2

Outside google colab, you would have to install pillow and cv2 using pip <! dependency version might kind of be problematic >