Fantasy-Studio / Paint-by-Example

Paint by Example: Exemplar-based Image Editing with Diffusion Models
https://arxiv.org/abs/2211.13227
Other
1.06k stars 95 forks source link

Question about LDM. #6

Closed chenhaoxing closed 1 year ago

chenhaoxing commented 1 year ago

Traceback (most recent call last): File "inference.py", line 405, in main() File "inference.py", line 271, in main model = load_model_from_config(config, f"{opt.ckpt}") File "inference.py", line 63, in load_model_from_config model = instantiate_from_config(config.model) File "/home/yansan/projects/PaintExam/ldm/util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(*config.get("params", dict())) File "/home/yansan/projects/PaintExam/ldm/models/diffusion/ddpm.py", line 448, in init super().init(conditioning_key=conditioning_key, args, **kwargs) TypeError: init() got an unexpected keyword argument 'u_cond_percent'

Gal4way commented 1 year ago

do you know how to solve this problem now?

KleinXin commented 11 months ago

Same error. Maybe it is the problem of the version of the diffuser

loliq commented 3 months ago

hello, did you solve this problem, I met the same error.