{"adoption": {"forks": 705, "observed_at": "2026-08-28T04:08:08.000283+00:00", "stars": 3523}, "canonical_url": "https://ross.abutalabs.com/products/kair", "card": {"archived": false, "artifact_type": "library", "description": "Image Restoration Toolbox (PyTorch). Training and testing codes for DPIR, USRNet, DnCNN, FFDNet, SRMD, DPSR, BSRGAN, SwinIR", "domain": ["computer-vision", "image-processing", "deep-learning", "machine-learning"], "enriched": true, "function": ["image-processing", "machine-learning", "deep-learning"], "health_score": 20, "homepage": "https://cszn.github.io/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["cszn/KAIR"], "name": "cszn/KAIR", "platform": ["python", "cross-platform"], "pushed_at": "2024-10-02T13:20:42+00:00", "repo": "cszn/KAIR", "stars": 3523, "tags": ["image-restoration", "denoising", "super-resolution", "deblurring", "pytorch", "swinir", "dncnn", "research-code", "gpu"], "topics": ["image-restoration", "denoising", "super-resolution", "sisr", "pytorch", "toolbox", "dncnn", "usrnet", "ffdnet", "srmd", "esrgan", "dpsr", "flops", "deep-learning", "swinir", "bsrgan"], "urls": [], "use_cases": ["denoise noisy photos with a pretrained deep learning model", "upscale and super-resolve low-resolution images", "train an image restoration network in PyTorch", "deblur blurry images", "benchmark image restoration models like SwinIR and BSRGAN", "restore compressed JPEG images"], "what_it_is": "A PyTorch image restoration toolbox providing training and testing code for many restoration models including DnCNN, FFDNet, SRMD, USRNet, DPIR, BSRGAN, and SwinIR. It covers tasks such as denoising, super-resolution, deblurring, and demosaicing.", "when_to_avoid": ["you need a polished end-user photo editing app with a GUI", "you want one-click production deployment rather than research code", "your task is high-level vision like detection or segmentation"], "when_to_choose": ["you need reference implementations of well-known image restoration models", "you want to train or fine-tune denoising or super-resolution networks in PyTorch", "you are doing low-level vision research and need a common codebase"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/kair", "repo": "cszn/KAIR", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "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:08:08.000283+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:08.000283+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:35:11.428726+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed4d9048f33e0e1f8269a6a707163e83bfe018c7e055790f8775fc8654dafd40", "fetched_at": "2026-08-28T04:08:08.000283+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cszn/KAIR"}, {"content_hash": "92110304d1e2af177381a59fd24912207872534898b3fce91c847096313e0732", "fetched_at": "2026-08-29T09:29:13.727283+00:00", "kind": "homepage", "missing": false, "url": "https://cszn.github.io/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2453, "days_push": 700, "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}}