Skip to content
New issue

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

[81] - add operator to encode videos into vector embeddings using CLIP-ViT-B-32 #369

Merged
merged 14 commits into from
Aug 8, 2024

Conversation

Snehil-Shah
Copy link
Contributor

Resolves #357.

Summary

  • added the vid_vec_rep_clip operator.
  • added tests for the above operator.
  • updated Dockerfile to fix 404s when fetching ffmpeg.

aatmanvaidya and others added 13 commits May 28, 2024 14:00
Automatically generated by python-semantic-release
Automatically generated by python-semantic-release
fix: Removed ignored vulnerabilities that were fixed
Automatically generated by python-semantic-release
@aatmanvaidya aatmanvaidya self-requested a review August 7, 2024 12:45
@Snehil-Shah Snehil-Shah changed the title feat: add operator to encode videos into vector embeddings using CLIP-ViT-B-32 [81] - add operator to encode videos into vector embeddings using CLIP-ViT-B-32 Aug 7, 2024
Copy link
Collaborator

@aatmanvaidya aatmanvaidya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test comment

src/core/operators/vid_vec_rep_clip.py Outdated Show resolved Hide resolved
@aatmanvaidya aatmanvaidya changed the base branch from main to development August 8, 2024 11:44
@aatmanvaidya aatmanvaidya changed the base branch from development to main August 8, 2024 11:44
@aatmanvaidya aatmanvaidya changed the base branch from main to development August 8, 2024 11:49
@aatmanvaidya aatmanvaidya merged commit c5f09de into tattle-made:development Aug 8, 2024
3 of 4 checks passed

# Extract I-frames and features
self.frame_images = self.extract_frames(fname)
print(len(self.frame_images))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aatmanvaidya forgot to remove this print statement :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create an video operator using CLIP
4 participants