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

Performance Metric Missing #71

Open
Bearwithchris opened this issue Jan 4, 2024 · 2 comments
Open

Performance Metric Missing #71

Bearwithchris opened this issue Jan 4, 2024 · 2 comments

Comments

@Bearwithchris
Copy link

Hi, Would it be possible to share with us the code for the performance metrics.
Specifically LPIPS used for generated data, as mentioned in the paper "As our own method does not use a training set, we cluster around generated images using K-Medoids [1]."?

@rinongal
Copy link
Owner

rinongal commented Jan 4, 2024

Hi,

Unfortunately it's been almost 3 years and I don't have access to the machine with the original code.

We just used the clustering metric code from Ojha et al except that we use sklearn's K-Medoids to get the points from which we calculate distances (their code assumes you have a training set to calculate distances to).

@Bearwithchris
Copy link
Author

Bearwithchris commented Jan 4, 2024

Thank you for the prompt reply. No worries, I would then like to clarify the procedure to attain the centroids. Specifically, I have the following questions:

  1. In what latent/pixel space is K-medoids applied on?
  2. Then given that sklearn's K-Medoids works on 2-dim data, is some kind of dimensions reduction applied to the latent/pixel space prior to clustering?
  3. Lastly, if some dimensional reduction was applied, how did you get the "gen-image" pertaining to the centroid for LPIPS measurements?

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

2 participants