FarhanKO/lung-disease-prediction

image-classification model by FarhanKO

Open original source ↗

From the publisher

Model card & documentation

Source preview

Read the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.

Classifies a chest X-ray into one of six classes: Covid-19, Emphysema, Normal, Pneumonia-Bacterial, Pneumonia-Viral, Tuberculosis. The trained weights (700 MB) are too large for GitHub, so they are hosted on the Hugging Face Hub: FarhanKO/lung-disease-prediction These models are the image half of the lung module in Disease-Risk-Prediction (lung/imagebased/). In the repo, this folder holds only this README, the OOD gate (lungooddetector.joblib), metadata.json, inference.py and requirements.txt; the .keras files are git-ignored. Or from the command line: status is one of: On the full test split, inference.py reproduces the repo's PyTorch-backend results: accuracy 0.8456 on scored images, 1 of 1,737 X-rays rejected by the gate, and 34 of 34 noise and blank images rejected. The OOD gate is a scikit-learn object saved with joblib, which is a pickle: load it only from a source you trust, and use scikit-learn 1.8 (pinned in requirements.txt). To use the full pipeline (with Grad-CAM) from a…

FarhanKO/lung-disease-prediction on Hugging Face A short preview, not the full document.

Read the full model card ↗ · Preview checked 2026-09-29T07:25:08.632Z

Inside the original model card — Document outline
  1. Chest X-ray Classifier (DenseNet121)
  2. Quick start (no GitHub code needed)
  3. Download into the GitHub repo
  4. Using a checkpoint directly
  5. Files
  6. How the cascade uses them
  7. Training data
  8. Training
  9. Results
  10. Limitations

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Documentation belongs to its respective authors. Reported project/model license: other. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

Model overview

FarhanKO/lung-disease-prediction is a image-classification model repository published by FarhanKO on Hugging Face. The source reports the keras library.

This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.

Model facts

Task
image-classification
Library
keras
Recent downloads (30 days)
0
Cumulative likes
0
Hugging Face trending score
0
Reported safetensors parameters
Not reported
Architecture
Not reported
License
other
Access
Not gated by Hugging Face
Created
2026-09-29T06:23:15.000Z
Last modified
2026-09-29T06:27:09.000Z

Compatibility and lineage

Language coverage was not reported.

Base-model lineage was not included.

Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.

Use and evaluate

Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.

No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.

Model card and usage instructions

Model files and configuration

Community discussion

Source and freshness

Source: Hugging Face Hub. Metadata observed 2026-09-29T06:38:10.429Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related models

timm/mobilenetv3_small_100.lamb_in1k

google/vit-base-patch16-224

Falconsai/nsfw_image_detection

timm/resnet18.a1_in1k

timm/tf_efficientnetv2_s.in21k_ft_in1k

timm/resnet50.a1_in1k