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

Add image_pair_similarity_filter #393

Merged
merged 10 commits into from
Sep 9, 2024

Conversation

Qirui-jiao
Copy link
Collaborator

Calculate the cosine similarity of CLIP image features for paired images, and filter the samples based on this value.
Hyperparameters:

  • min_score – the min similarity score of filter range.
  • max_score – the max similarity score of filter range.

@yxdyc yxdyc requested review from HYLcool and yxdyc August 21, 2024 08:14
@yxdyc yxdyc added enhancement New feature or request dj:multimodal issues/PRs about multimodal data processing dj:op issues/PRs about some specific OPs labels Aug 21, 2024
@yxdyc yxdyc changed the title upload image_pair_similarity_filter Add image_pair_similarity_filter Aug 21, 2024
@HYLcool HYLcool mentioned this pull request Aug 30, 2024
Copy link
Collaborator

@HYLcool HYLcool left a comment

Choose a reason for hiding this comment

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

LGTM

@HYLcool HYLcool merged commit b3559af into modelscope:main Sep 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dj:multimodal issues/PRs about multimodal data processing dj:op issues/PRs about some specific OPs enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants