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

FID scores of many generated images from a single input image #61

Open
Ashh-Z opened this issue May 27, 2024 · 1 comment
Open

FID scores of many generated images from a single input image #61

Ashh-Z opened this issue May 27, 2024 · 1 comment

Comments

@Ashh-Z
Copy link

Ashh-Z commented May 27, 2024

Hi, thanks for your work,
I wanted to calculate the FID score between multiple generations of the same input image. I setup my directories such that directory 1 contains n generated image and directory 2 contains n copies of the input image. Is this ok way to go about this ? I ran into the following error while doing this :
RuntimeWarning: invalid value encountered in scalar divide arg2 = norm(X.dot(X) - A, 'fro')**2 / norm(A, 'fro')

Thank you

@GaParmar
Copy link
Owner

GaParmar commented Jul 1, 2024

can you verify that there are indeed more than 1 image in each of the generated folders?
Based on the error message, it looks like there might be just 1 image in one of the folders

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