Skip to content

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
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
1 check 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