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'
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'