Open yongliuy opened 1 year ago
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?
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?