Stability-AI / stablediffusion

High-Resolution Image Synthesis with Latent Diffusion Models
MIT License
37.84k stars 4.88k forks source link

Parameterization #356

Closed employeebeginerwpython closed 6 months ago

employeebeginerwpython commented 6 months ago

Hello. I have this error, don't know how to fix it. where is the problem? Any suggestions?

File "scripts/txt2img.py", line 388, in main(opt) File "scripts/txt2img.py", line 219, in main model = load_model_from_config(config, f"{opt.ckpt}", device) File "scripts/txt2img.py", line 34, in load_model_from_config model = instantiate_from_config(config.model) File "c:\program files\git\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(*config.get("params", dict())) File "c:\program files\git\stable-diffusion\ldm\models\diffusion\ddpm.py", line 448, in init super().init(conditioning_key=conditioning_key, args, **kwargs) File "c:\program files\git\stable-diffusion\ldm\models\diffusion\ddpm.py", line 76, in init assert parameterization in ["eps", "x0"], 'currently only supporting "eps" and "x0"' AssertionError: currently only supporting "eps" and "x0"

employeebeginerwpython commented 6 months ago

It took the wrong path to the stable-diffusion ""c:\program files\git\stable-diffusion\ldm\" it should be ..\stablediffusion-main... Deleted the old stable-diffusion (folder) version at it took the right path to the \stablediffusion-main.