-
Notifications
You must be signed in to change notification settings - Fork 74
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
Can KID be negative number #36
Comments
Can you provide some more details about the setup? -Gaurav |
Hi Gaurav, I'm also encountering similar problems. In my case, I have N images for the ground truth set and 5 * N images for the synthesized set (N ranging from hundreds to thousands). I computed FID, CLIP-FID, and KID using the following APIs:
Here are some examples of FID, clip FID and KID score triplets where KIDs are negative: Seems to me that there're some numerical error going on when the difference is small (like when FID is small to a certain degree)? Best, |
I got the same problem. Any intuitive explanation? Or could we just take the absolute values? Thanks. |
Same here. Getting negative KID scores. |
I am trying to compute KID, but it is generating negative values. Can KID be a negative number?
Here is the code that I used:
`
from cleanfid import fid
fdir1 = my_folder1_path
fdir2 = my_folder2_path
kid_score = fid.compute_kid(fdir1, fdir2)
`
Each folder has only 6 images. My kid_score is -0.0406.
Could someone please help me understand why the KID is less that zero?
Thank you,
Chandrakanth
The text was updated successfully, but these errors were encountered: