Open MyUsernamee opened 2 years ago
I assumed I was missing a python package named ldm, which was incorrect. I just needed to append a system path sys.path.append('.')
so it includes the ./ldm folder scripts.
Where did you add that?
below import sys
in the pipeline
place it in txt2Img.py and then fix other issues like these:
in autoencoder.py by you need taming module which requires pip install taming-transformers and then change this: from taming.modules.vqvae.quantize import VectorQuantizer2 as VectorQuantizer to this: from taming.modules.vqvae.quantize import VectorQuantizer as VectorQuantizer as VectorQuanitizer2 does not exist in quantize.py
and then it all runs.
After creating a conda env like specified in the readme and downloading the models, I can't run the text2im script, I get this error:
To do this I ran:
I am running the latest version of conda 4.12.0 and python 3.8.5.
Thank you for any help in advance! It is probably something simple. :(