mlmed/torchxrayvision

TorchXRayVision: A library of chest X-ray datasets and models. Classifiers, segmentation, and autoencoders.

65
/ 100
Established

Built on PyTorch, it provides unified preprocessing pipelines and dataset loaders for multiple public chest X-ray cohorts (NIH, CheXpert, MIMIC-CXR, PadChest, RSNA) that can be swapped interchangeably for robust model evaluation across distributional shifts. Pre-trained DenseNet121 and ResNet50 classifiers output multi-label pathology predictions (18 conditions), while additional baseline models enable demographic prediction and anatomical segmentation via PSPNet, alongside representation learning through pre-trained autoencoders.

1,122 stars and 64,525 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 2 / 25
Adoption 20 / 25
Maturity 18 / 25
Community 25 / 25

How are scores calculated?

Stars

1,122

Forks

244

Language

Jupyter Notebook

License

Apache-2.0

Last pushed

Sep 18, 2025

Monthly downloads

64,525

Commits (30d)

0

Dependencies

9

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/mlmed/torchxrayvision"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.