-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels