mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
Added an empty personalization_config
argument to instantiate_from_config
when loading LDSR as it is a required argument. (#1722)
This commit is contained in:
commit
9ffdf04172
@ -944,7 +944,7 @@ class LDSR():
|
||||
global_step = pl_sd["global_step"]
|
||||
sd = pl_sd["state_dict"]
|
||||
config = OmegaConf.load(self.yamlPath)
|
||||
model = instantiate_from_config(config.model)
|
||||
model = instantiate_from_config(config.model, personalization_config="")
|
||||
m, u = model.load_state_dict(sd, strict=False)
|
||||
model.cuda()
|
||||
model.eval()
|
||||
|
Loading…
Reference in New Issue
Block a user