CLIP-IQA icon indicating copy to clipboard operation
CLIP-IQA copied to clipboard

Model loading

Open yongliuy opened this issue 2 years ago • 1 comments

When we try to run clipiqa_single_image_demo.py and load pre-trained model, there will be the following problems:

unexpected key in source state_dict: generator.clipmodel_0.logit_scale, generator.clipmodel_0.prompt_learner.ctx,....... missing keys in source state_dict: generator.clip_model.positional_embedding, generator.clip_model.text_projection,......

How should I solve it?

yongliuy avatar Jun 01 '23 14:06 yongliuy

#5

IceClear avatar Jun 01 '23 14:06 IceClear