pytask
torch-fidelity
pytask | torch-fidelity | |
---|---|---|
1 | 3 | |
101 | 887 | |
5.0% | - | |
9.2 | 8.1 | |
8 days ago | 4 months ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
pytask
torch-fidelity
-
[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?
Try torch-fidelity : https://github.com/toshas/torch-fidelity
-
How to compute Inception score for 3d GAN
You can, but two ingredients are required: a rich pretrained feature extractor for your data to replace InceptionV3 pretrained on ImageNet, and https://github.com/toshas/torch-fidelity, which can be used with custom feature extractors (also supports FID and KID).
What are some alternatives?
EvalAI - :cloud: :rocket: :bar_chart: :chart_with_upwards_trend: Evaluating state of the art in AI
evaluate - 🤗 Evaluate: A library for easily evaluating machine learning models and datasets.
disentangling-vae - Experiments for understanding disentanglement in VAE latent representations
rexmex - A general purpose recommender metrics library for fair evaluation.
benchmark_VAE - Unifying Variational Autoencoder (VAE) implementations in Pytorch (NeurIPS 2022)
pytorch-fid - Compute FID scores with PyTorch.
clean-fid - PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022]
avalanche - Avalanche: an End-to-End Library for Continual Learning based on PyTorch.
trajectopy-core - Trajectopy - Trajectory Evaluation in Python
trajectopy - Trajectopy - Trajectory Evaluation in Python
datasets - 🤗 The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools
ALAE - [CVPR2020] Adversarial Latent Autoencoders