{"adoption": {"forks": 123, "observed_at": "2026-08-28T04:05:05.733249+00:00", "stars": 1574}, "canonical_url": "https://ross.abutalabs.com/products/piq", "card": {"archived": false, "artifact_type": "library", "description": "Measures and metrics for image2image tasks. PyTorch.", "domain": ["image-processing", "machine-learning", "computer-vision", "deep-learning"], "enriched": true, "function": ["image-processing", "machine-learning", "benchmarking", "testing"], "health_score": 21, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["photosynthesis-team/piq"], "name": "photosynthesis-team/piq", "platform": ["python", "cross-platform"], "pushed_at": "2024-05-12T15:30:07+00:00", "repo": "photosynthesis-team/piq", "stars": 1574, "tags": ["pytorch", "image-quality-assessment", "iqa", "ssim", "psnr", "fid", "kid", "brisque", "gan-metrics", "loss-functions", "gpu"], "topics": ["image-quality-assessment", "image-quality", "image-to-image", "metrics", "measures", "gan", "generative-models", "pytorch", "python3", "image-metrics", "iqa", "ssim", "ms-ssim", "mse", "psnr", "fid", "kid", "vif", "brisque"], "urls": [], "use_cases": ["evaluate image quality of generated images", "compute SSIM or PSNR between two images in PyTorch", "use image quality metrics as loss functions for training", "measure FID or KID for GAN evaluation", "assess quality of super-resolution or denoising outputs", "benchmark image-to-image model performance on GPU"], "what_it_is": "PyTorch Image Quality (PIQ) is a collection of measures and metrics for image quality assessment in image-to-image tasks, written in pure PyTorch. It provides a unified interface for metrics like SSIM, PSNR, FID, and BRISQUE, many of which can be used as differentiable loss functions.", "when_to_avoid": ["you need metrics for TensorFlow, JAX, or non-PyTorch frameworks", "you only need a single simple metric and prefer a minimal dependency", "your project requires Python beyond the supported 3.7-3.10 range"], "when_to_choose": ["you need a broad set of image quality metrics with a unified PyTorch API", "you want differentiable metrics usable as training losses", "you need GPU-accelerated IQA computation with input validation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/piq", "repo": "photosynthesis-team/piq", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/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:05:05.733249+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:05.733249+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:57:51.469838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9f2b0c794fdd8f0062b7ebc53ea5f712e5fbab1f223a689afc67c492f01477e0", "fetched_at": "2026-08-28T04:05:05.733249+00:00", "kind": "readme", "missing": false, "url": "https://github.com/photosynthesis-team/piq"}, {"content_hash": "6634d0d5f66d95e330776a4cd4cf13c1b429ce5c835fa4b1daf9626d271f280e", "fetched_at": "2026-08-29T11:28:00.567008+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/piq/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2449, "days_push": 843, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}