We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model, image_processor = create_model_from_pretrained(model_name='ViT-SO400M-14-SigLIP-384', pretrained=self.image_tower_name, image_mean=([0.5,0.5,0.5]), image_std=([0.5,0.5,0.5]), image_interpolation="bicubic", image_resize_mode="squash") image_features = model.encode_image(images) # [1, 1152]
这样得到的feature是 (1, 1152),序列长度怎么得到,用model.forward_features(images) 报错timm ttributeError: 'CustomTextCLIP' object has no attribute 'forward_features'
The text was updated successfully, but these errors were encountered:
请教下diva的ViT-SO400M-14-SigLIP-384 的token长度是怎么做到121的呀
Sorry, something went wrong.
No branches or pull requests
model, image_processor = create_model_from_pretrained(model_name='ViT-SO400M-14-SigLIP-384', pretrained=self.image_tower_name,
image_mean=([0.5,0.5,0.5]), image_std=([0.5,0.5,0.5]), image_interpolation="bicubic", image_resize_mode="squash")
image_features = model.encode_image(images) # [1, 1152]
这样得到的feature是 (1, 1152),序列长度怎么得到,用model.forward_features(images) 报错timm ttributeError: 'CustomTextCLIP' object has no attribute 'forward_features'
The text was updated successfully, but these errors were encountered: