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, I would like to extract image features using PLIP
from transformers import CLIPModel
model = CLIPModel.from_pretrained('vinid/plip')
for batch in dataloader:
with torch.no_grad():
batch = batch.to(device)
embeds = ...
Could you please let me know how to write the forward code to extract image features using PLIP? Thank you
The text was updated successfully, but these errors were encountered:
Hi, I would like to extract image features using PLIP
Could you please let me know how to write the forward code to extract image features using PLIP? Thank you
The text was updated successfully, but these errors were encountered: