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

How to calculate intra-modal uniformity? #3

Open
Leg-end opened this issue Jan 8, 2025 · 0 comments
Open

How to calculate intra-modal uniformity? #3

Leg-end opened this issue Jan 8, 2025 · 0 comments

Comments

@Leg-end
Copy link

Leg-end commented Jan 8, 2025

As mention in the paper that the intra-modal uniformity was computed using data sampling from image and text data distribution.
Does that mean norm distance from samples of same class also contribute to the metric when number of shot > 1 ?
Or instead, using prototype(mean) feature of different classes so only distance from different classes will be considered ?

For example, provided with a k-shot data, k > 1, it has embedding of shape like [NK, d].
Should I average it to shape of [N, d], then compute the intra-modal, or directly do it on unaveraged shape ?

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

No branches or pull requests

1 participant