Yuchen413 / text2image_safety

MIT License
149 stars 13 forks source link

Installation for Mac #4

Closed BrawnyAi closed 11 months ago

BrawnyAi commented 12 months ago

Hi, I'm trying to run on MacOS but I think there are some minimum requirements. Does it need to run on the same folder as SD? Is there a requirements.txt?

I receive this error:

 ../sources/text2image_safety/rl_utils.py", line 4, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Yuchen413 commented 12 months ago

Hello, my experiments are run on Ubuntu18 with one Nvidia-3090GPU (24G), I don't think it could be run on Mac due to the GPU.

The environment configuration can be found in the environment.yml.