stable-diffusion
stable-diffusion copied to clipboard
cannot import name VectorQuantizer2
I did a fresh clone of the official SD repo today and setup a fresh conda environment. When I added the optimizedSD folder and I try to run it I get the following. Any ideas how to resolve this?
I get this when running any of the py in optimizedSD python optimizedSD/txt2img_gradio.py python optimizedSD/optimized_txt2img.py etc
Loading model from models/ldm/stable-diffusion-v1/model.ckpt
Global Step: 470000
Traceback (most recent call last):
File "optimizedSD/txt2img_gradio.py", line 66, in
Hi, can you once try upading the conda env using conda env update -f environment.yaml?
for me I was getting similar but different error, "ModuleNotFoundError: No module named 'optimizedSD'"
however, conda env update -f environment.yaml and conda update -n base -c defaults conda fixed it for me.