stable-diffusion
stable-diffusion copied to clipboard
im trying to test the ai on my local pc and i cant get it to work
im trying to test the ai on my local pc and i cant get it to work
E:\IA-Local\stable-diffusion-main>set /P id=Enter Prompt And Options : Enter Prompt And Options : --prompt "a dog photo"
E:\IA-Local\stable-diffusion-main>python "scripts\txt2img.py" --ckpt "model 1.3.ckpt" --config "configs\stable-diffusion\v1-inference.yaml" --prompt "a dog photo"
Traceback (most recent call last):
File "E:\IA-Local\stable-diffusion-main\scripts\txt2img.py", line 17, in
Maybe it's assuming python 2?
No, python 3.10
just this https://huggingface.co/spaces/stabilityai/stable-diffusion
Do you run it inside a Conda terminal?
Try the following:
Copy the file txt2img.py to the root folder of the project (for you it should be E:\IA-Local\stable-diffusion-main) and start it from there: "python "txt2img.py" --ckpt "model 1.3.ckpt" --config "configs\stable-diffusion\v1-inference.yaml" --prompt "a dog photo"
and make sure that you did not install the ldm package from pip
Try the following:
Copy the file txt2img.py to the root folder of the project (for you it should be E:\IA-Local\stable-diffusion-main) and start it from there: "python "txt2img.py" --ckpt "model 1.3.ckpt" --config "configs\stable-diffusion\v1-inference.yaml" --prompt "a dog photo"
and make sure that you did not install the ldm package from pip
where were we supposed to download the ldm package other than pip?
Did you find an answer for this?