You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I tried to run the example.py, but I'm getting this error during the forward pass. It seems like there's something misconfigured or a compatibility issue. If anyone has been through this process, I would like to know what the solution is. Here, I'm sharing the output when running example.py
Thank you very much, regards.
``text_config_dictis provided which will be used to initializeCLIPTextConfig`. The value `text_config["id2label"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["bos_token_id"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["eos_token_id"]` will be overriden.
Tokenized image: torch.Size([1, 3, 224, 224])
Error during forward pass: Sizes of tensors must match except in dimension 2. Expected size 8 but got size 16384 for tensor number 1 in the list.
Text: This is a short sequence.
Number of tokens: 8
Output size: None`
The text was updated successfully, but these errors were encountered:
Hi everyone, I tried to run the example.py, but I'm getting this error during the forward pass. It seems like there's something misconfigured or a compatibility issue. If anyone has been through this process, I would like to know what the solution is. Here, I'm sharing the output when running example.py
Thank you very much, regards.
``text_config_dict
is provided which will be used to initialize
CLIPTextConfig`. The value `text_config["id2label"]` will be overriden.`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["bos_token_id"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["eos_token_id"]` will be overriden.
Tokenized image: torch.Size([1, 3, 224, 224])
Error during forward pass: Sizes of tensors must match except in dimension 2. Expected size 8 but got size 16384 for tensor number 1 in the list.
Text: This is a short sequence.
Number of tokens: 8
Output size: None`
The text was updated successfully, but these errors were encountered: