Merge branch 'Sygil-Dev:dev' into dev

This commit is contained in:
aedh carrick 2022-12-26 16:38:32 -06:00 committed by GitHub
commit ca0940fa99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()