{"adoption": {"forks": 299, "observed_at": "2026-08-28T04:05:48.604682+00:00", "stars": 1880}, "canonical_url": "https://ross.abutalabs.com/products/nitrain", "card": {"archived": false, "artifact_type": "library", "description": "Train AI models efficiently on medical images using any framework", "domain": ["machine-learning", "deep-learning", "healthcare"], "enriched": true, "function": ["machine-learning", "deep-learning", "image-processing", "data-science"], "health_score": 27, "homepage": null, "language": "Python", "license": "AGPL-3.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["nitrain/nitrain"], "name": "nitrain/nitrain", "platform": ["python"], "pushed_at": "2024-06-13T19:43:58+00:00", "repo": "nitrain/nitrain", "stars": 1880, "tags": ["medical-imaging", "neuroimaging", "pytorch", "keras", "tensorflow", "data-augmentation", "medical-imaging-ai", "antspy"], "topics": ["pytorch", "deep-learning", "keras", "neuroimaging", "medical-imaging"], "urls": [], "use_cases": ["train a segmentation model on brain MRI scans", "augment medical images for deep learning", "build a dataset from NIfTI files with transforms", "train models on medical images with pytorch or keras", "sample 2D slices from 3D medical image volumes", "visualize medical imaging model results"], "what_it_is": "Nitrain is a framework-agnostic Python library for sampling, augmenting, and training AI models on medical imaging datasets, with support for PyTorch, TensorFlow, and Keras backends. It provides high-level abstractions for datasets, loaders, transforms, and trainers tailored to medical images like NIfTI files.", "when_to_avoid": ["you train models on natural images rather than medical imaging formats", "you need fine-grained low-level control over data pipelines", "AGPL-3.0 licensing is incompatible with your project"], "when_to_choose": ["you need a high-level, framework-agnostic API for medical imaging AI", "you work with NIfTI/neuroimaging formats and want built-in transforms and samplers", "you want to switch between torch, tensorflow, and keras backends"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nitrain", "repo": "nitrain/nitrain", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "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:48.604682+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.604682+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:14:01.218550+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "027835c4d6e7873367364d25403fe6a08144cd986898a2cd8be5ac15eeaf17f2", "fetched_at": "2026-08-28T04:05:48.604682+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nitrain/nitrain"}], "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": 3472, "days_push": 811, "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}}