I'm facing an issue while loading LDM from checkpoint (latent_diffusion_model = load_model_from_config(config, ldm_ckpt_path)).
It's unable to find the "state_dict" key in the pl_sd in (sd = pl_sd["state_dict"]).
Here's the error:
Traceback (most recent call last):
File "", line 1, in
KeyError: 'state_dict'
Hi, thanks again for releasing this amazing work.
I'm facing an issue while loading LDM from checkpoint (latent_diffusion_model = load_model_from_config(config, ldm_ckpt_path)). It's unable to find the "state_dict" key in the pl_sd in (sd = pl_sd["state_dict"]).
Here's the error: Traceback (most recent call last): File "", line 1, in
KeyError: 'state_dict'
Your help will be greatly appreciated.