I'm a bit getting lost with the repo, may I request a simple few line script that does something like the following:
model = CLIPViP("pretrain_clipvip_base_32.pt")
text_features = model.encode_text("This is a very cute cat")
video_features = model.encode_video("vid_file.mp4")
cosine(text_features, video_features)
[Extra] Preferably I wish to get the video features for a batch of mp4 files with different lengths
First of all - Amazing work on this one.
I'm a bit getting lost with the repo, may I request a simple few line script that does something like the following:
[Extra] Preferably I wish to get the video features for a batch of mp4 files with different lengths
Thank you