Sygil-Dev / stable-diffusion

GNU Affero General Public License v3.0
1.72k stars 149 forks source link

Personalization (textual inversion) seems broken with WebUi #288

Closed IridiumMaster closed 2 years ago

IridiumMaster commented 2 years ago

Git pulled the latest, and get the following error message after performing the personalization steps described:

(ldm) D:\stable-diffusion>python scripts/webui.py Found GFPGAN Found RealESRGAN LDSR not found at path, please make sure you have cloned the LDSR repo to ./src/latent-diffusion/ Loading model from models/ldm/stable-diffusion-v1/model.ckpt Global Step: 470000 Traceback (most recent call last): File "scripts/webui.py", line 451, in model, device,config = load_SD_model() File "scripts/webui.py", line 442, in load_SD_model model = load_model_from_config(config, opt.ckpt) File "scripts/webui.py", line 148, in load_model_from_config model = instantiate_from_config(config.model) File "d:\stable-diffusion\ldm\util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(*config.get("params", dict())) File "d:\stable-diffusion\ldm\models\diffusion\ddpm.py", line 448, in init super().init(conditioning_key=conditioning_key, args, **kwargs) TypeError: init() got an unexpected keyword argument 'personalization_config'