{"adoption": {"forks": 81, "observed_at": "2026-08-28T04:03:50.301000+00:00", "stars": 1166}, "canonical_url": "https://ross.abutalabs.com/products/clean-fid", "card": {"archived": false, "artifact_type": "library", "description": "PyTorch - FID calculation with proper image resizing and quantization steps [CVPR 2022]", "domain": ["computer-vision", "deep-learning", "machine-learning", "image-processing"], "enriched": true, "function": ["image-processing", "machine-learning", "benchmarking"], "health_score": 41, "homepage": "https://www.cs.cmu.edu/~clean-fid/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["GaParmar/clean-fid"], "name": "GaParmar/clean-fid", "platform": ["python", "cross-platform"], "pushed_at": "2025-08-02T02:33:50+00:00", "repo": "GaParmar/clean-fid", "stars": 1166, "tags": ["fid-score", "gan-evaluation", "pytorch", "frechet-inception-distance", "kid", "clip-features", "generative-models", "cvpr-2022", "gpu"], "topics": ["computer-vision", "deep-learning", "computer-graphics", "pytorch", "generative-adversarial-network", "gan", "image-manipulation", "image-generation", "fid-score", "fid-calculation", "fid", "frechet-inception-distance", "frechet-distance"], "urls": [], "use_cases": ["calculate fid score between two image folders", "evaluate gan image generation quality", "compare fid scores across papers reproducibly", "compute kid metric for generated images", "compute fid using clip features", "fix incorrect image resizing in fid calculation"], "what_it_is": "Clean-FID is a PyTorch library for computing the Frechet Inception Distance (FID) with correct image resizing and quantization steps, fixing inconsistencies across common implementations. It also supports KID and CLIP-feature-based FID, and was published at CVPR 2022.", "when_to_avoid": ["you need metrics other than FID/KID/CLIP-FID, such as Inception Score or precision-recall", "you are not working with image generation evaluation", "you need a framework-agnostic solution outside PyTorch"], "when_to_choose": ["you need reproducible, comparable FID scores for generative model evaluation", "you want correct anti-aliased resizing and quantization in the metric pipeline", "you need FID, KID, or CLIP-FID in a PyTorch workflow"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/clean-fid", "repo": "GaParmar/clean-fid", "role": "main", "score": 48}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:50.301000+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:28:58.043863+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e0b5179801f4914cb01c2299e9e471763606f7c5c8f948911050b2e14106057", "fetched_at": "2026-08-28T04:03:50.301000+00:00", "kind": "readme", "missing": false, "url": "https://github.com/GaParmar/clean-fid"}, {"content_hash": "ad73efa37c79b2304bac74743e833852ac98d101f2c20693a579a24b028a1ae4", "fetched_at": "2026-08-29T12:35:10.454349+00:00", "kind": "homepage", "missing": false, "url": "https://www.cs.cmu.edu/~clean-fid/"}, {"content_hash": "967b6240fff81dd0d5be6a7f5bc20aca528220eb3d6df70fc4f90a983fe57042", "fetched_at": "2026-08-29T12:35:10.464336+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/clean-fid/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 34, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1959, "days_push": 397, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 48, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}