ewrfcas / LeftRefill

LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Model (CVPR2024)
Apache License 2.0
56 stars 2 forks source link

Problem with initial model #8

Closed Cameltr closed 2 months ago

Cameltr commented 2 months ago
Load ckpt /home/LeftRefill/check_points/ref_guided_inpainting/ckpts/epoch=7-step=6039.ckpt
Loaded state_dict from [/home/LeftRefill/check_points/ref_guided_inpainting/ckpts/epoch=7-step=6039.ckpt]
missing keys:['betas', 'alphas_cumprod', 'alphas_cumprod_prev', 'sqrt_alphas_cumprod', 'sqrt_one_minus_alphas_cumprod', 'log_one_minus_alphas_cumprod', 'sqrt_recip_alphas_cumprod', 'sqrt_recipm1_alphas_cumprod', 'posterior_variance', 'posterior_log_variance_clipped', 'posterior_mean_coef1', 'posterior_mean_coef2', 'logvar', 'model.diffusion_model.time_embed.0.weight', 'model.diffusion_model.time_embed.0.bias', 'model.diffusion_model.time_embed.2.weight', 'model.diffusion_model.time_embed.2.bias', 'model.diffusion_model.input_blocks.0.0.weight', 'model.diffusion_model.input_blocks.0.0.bias', 'model.diffusion_model.input_blocks.1.0.in_layers.0.weight', 'model.diffusion_model.input_blocks.1.0.in_layers.0.bias', 'model.diffusion_model.input_blocks.1.0.in_layers.2.weight', 'model.diffusion_model.input_blocks.1.0.in_layers.2.bias', 
......

What should I do if all the keywords are missing when loading the model? I checked the path and it should be correct.

ewrfcas commented 2 months ago

See https://github.com/ewrfcas/LeftRefill/issues/5#issue-2175824144 for more details.