clean-fid
pytorch-fid
clean-fid | pytorch-fid | |
---|---|---|
3 | 5 | |
863 | 3,080 | |
- | - | |
2.6 | 5.9 | |
2 months ago | about 2 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clean-fid
-
[D] A better way to compute the Fréchet Inception Distance (FID)
The Fréchet Inception Distance (FID) is a widespread metric to assess the quality of the distribution of a image generative model (GAN, Stable Diffusion, etc.). The metric is not trivial to implement as one needs to compute the trace of the square root of a matrix. In all PyTorch repositories I have seen that implement the FID (https://github.com/mseitzer/pytorch-fid, https://github.com/GaParmar/clean-fid, https://github.com/toshas/torch-fidelity, ...), the authors rely on SciPy's sqrtm to compute the square root of the matrix, which is unstable and slow.
-
[D] Are there any good FID and KID metrics implementations existing that are compatible with pytorch?
https://github.com/GaParmar/clean-fid/ is my goto. https://github.com/mseitzer/pytorch-fid isn't bad either.
-
[D] Comparing the efficiency of different GAN models
The best repo for FID (as far as I know) is this one: https://github.com/GaParmar/clean-fid
pytorch-fid
-
[D] A better way to compute the Fréchet Inception Distance (FID)
The Fréchet Inception Distance (FID) is a widespread metric to assess the quality of the distribution of a image generative model (GAN, Stable Diffusion, etc.). The metric is not trivial to implement as one needs to compute the trace of the square root of a matrix. In all PyTorch repositories I have seen that implement the FID (https://github.com/mseitzer/pytorch-fid, https://github.com/GaParmar/clean-fid, https://github.com/toshas/torch-fidelity, ...), the authors rely on SciPy's sqrtm to compute the square root of the matrix, which is unstable and slow.
-
[D] Are there any good FID and KID metrics implementations existing that are compatible with pytorch?
https://github.com/GaParmar/clean-fid/ is my goto. https://github.com/mseitzer/pytorch-fid isn't bad either.
-
[P] Frechet Inception Distance
https://github.com/mseitzer/pytorch-fid for example this here. The code is quite clean and clear
-
SSIM (Structural Similarity Index Metric )
Didn't get your problem statement but you can also consider FFID score to measure the similarity between two images. Check out: https://github.com/mseitzer/pytorch-fid
-
[R] Maximum likelihood estimation can fail due to "Manifold Overfitting"
Author here, thanks for the comment! The example in 3.1 is not meant as a realistic example, it is meant as an intuitive explanation of how the manifold overfitting issue can arise. As for FID scores, we intend on releasing our code soon, but we used the standard PyTorch implementation (https://github.com/mseitzer/pytorch-fid).
What are some alternatives?
SDEdit - PyTorch implementation for SDEdit: Image Synthesis and Editing with Stochastic Differential Equations
TryOnGAN - TryOnGAN: Unofficial Implementation
torch-fidelity - High-fidelity performance metrics for generative models in PyTorch
Anime2Sketch - A sketch extractor for anime/illustration.
mugl
gangealing - Official PyTorch Implementation of "GAN-Supervised Dense Visual Alignment" (CVPR 2022 Oral, Best Paper Finalist)
stylegan2-ada-pytorch - StyleGAN2-ADA - Official PyTorch implementation
generative-evaluation-prdc - Code base for the precision, recall, density, and coverage metrics for generative models. ICML 2020.
ALAE - [CVPR2020] Adversarial Latent Autoencoders
pytorch-CycleGAN-and-pix2pix - Image-to-Image Translation in PyTorch
DE-GAN - Document Image Enhancement with GANs - TPAMI journal