I tried running gligen_inference.py, but I am getting the following error. I am using the Clip
from https://github.com/openai/CLIP.git.
I would appreciate any help on how I can fix this? Thanks.
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for FrozenCLIPEmbedder:
Unexpected key(s) in state_dict: "transformer.text_model.embeddings.position_ids".
Hi,
I tried running gligen_inference.py, but I am getting the following error. I am using the Clip from https://github.com/openai/CLIP.git. I would appreciate any help on how I can fix this? Thanks.
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for FrozenCLIPEmbedder: Unexpected key(s) in state_dict: "transformer.text_model.embeddings.position_ids".