{"repo":"toshas/torch-fidelity","free":true,"listed":false,"github":"https://github.com/toshas/torch-fidelity","clone":"git clone https://github.com/toshas/torch-fidelity.git","description":"High-fidelity performance metrics for generative models in PyTorch","language":"Python","stars":1197,"topics":["pytorch","metrics","gan","generative-model","evaluation","inception-score","frechet-inception-distance","kernel-inception-distance","perceptual-path-length","precision"],"license":null,"category":"analytics","readme_excerpt":"This repository provides precise , efficient , and extensible implementations of the popular metrics for generative model evaluation, including: - Inception Score (ISC) - Fréchet Inception Distance (FID) - Kernel Inception Distance (KID) - Precision and Recall (PRC) - Perceptual Path Length (PPL) - Monge Inception Distance (MIND) Numerical Precision : Unlike many other reimplementations, the values produced by torch-fidelity match reference implementations up to floating point's machine precision. This allows using torch-fidelity for reporting metrics in papers instead of scattered and slow reference implementations. Read more about numerical precision Efficiency : Feature sharing between different metrics saves recomputation time, and an additional caching level avoids recomputing features and statistics whenever possible. High efficiency allows using torch-fidelity in the training loop, for example at the end of every epoch. Read more about efficiency Extensibility : Going beyond 2D image generation is easy due to high modularity and abstraction of the metrics from input data, models, and feature extractors. Register a custom feature extractor to evaluate any modality — video, audio, 3D volumes, or anything else with a suitable learned representation. Read more about extensibility TLDR; fast and reliable generative model evaluation in PyTorch Installation See also: Installing the latest GitHub code Usage Examples with Command Line Below are three examples of using torch-fid","default_branch":null,"files":null,"tree":[],"storefront":"/r/toshas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/toshas/torch-fidelity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}