hitilab commited on
Commit
eae97fc
·
verified ·
1 Parent(s): c9b8223

Upload 5 files

Browse files
Files changed (4) hide show
  1. .gitattributes +2 -0
  2. README.md +2 -11
  3. bin/cxr_ckd5_infer +3 -0
  4. examples/sample_cxr.png +3 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ bin/cxr_ckd5_infer filter=lfs diff=lfs merge=lfs -text
37
+ examples/sample_cxr.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -57,7 +57,7 @@ high-risk/low-risk stratification (Kaplan-Meier analyses).
57
 
58
  ## Intended use and limitations
59
 
60
- - **Research and screening-triage use only** — not a diagnostic device, not FDA
61
  cleared/approved. Do not use to make individual clinical decisions.
62
  - Expects an **adult (≥18y), ambulatory, upright, PA chest radiograph**.
63
  Performance on portable/lateral views, pediatric patients, or CLAHE-processed
@@ -76,19 +76,10 @@ See the in-app disclaimer for more detail.
76
  - `app.py` — Gradio interface only (upload widget, results display, disclaimer).
77
  It does not load the CNN or the AFT model directly.
78
  - `bin/cxr_ckd5_infer` — a single compiled executable that bundles the CNN feature
79
- extractor (Pyrros et al.) and the XGBoost AFT model together with their runtime
80
- (Python, onnxruntime, xgboost). `app.py` invokes it as a subprocess, passing an
81
- image path in and reading a JSON result back. The two model files are not present
82
- in this repository as standalone, independently loadable files — only as
83
- components embedded in this executable, consistent with the terms under which
84
- the CNN weights may be redistributed.
85
  - `examples/sample_cxr.png` — a public NIH ChestX-ray14 sample image, included only
86
  to demonstrate the interface (not part of the Emory/UIC study cohorts).
87
 
88
- The executable is built from `build/infer_cli.py` via PyInstaller inside a
89
- `python:3.10-slim-bullseye` container (see `build/Dockerfile.build`), which is not
90
- part of the deployed Space — it exists only to produce `bin/cxr_ckd5_infer`.
91
-
92
  ## License and attribution
93
 
94
  - The CNN feature extractor embedded in `bin/cxr_ckd5_infer` is © Ayis Pyrros et al.
 
57
 
58
  ## Intended use and limitations
59
 
60
+ - **Research use only** — not a diagnostic device, not FDA
61
  cleared/approved. Do not use to make individual clinical decisions.
62
  - Expects an **adult (≥18y), ambulatory, upright, PA chest radiograph**.
63
  Performance on portable/lateral views, pediatric patients, or CLAHE-processed
 
76
  - `app.py` — Gradio interface only (upload widget, results display, disclaimer).
77
  It does not load the CNN or the AFT model directly.
78
  - `bin/cxr_ckd5_infer` — a single compiled executable that bundles the CNN feature
79
+ extractor (Pyrros et al.) and the XGBoost AFT model together.
 
 
 
 
 
80
  - `examples/sample_cxr.png` — a public NIH ChestX-ray14 sample image, included only
81
  to demonstrate the interface (not part of the Emory/UIC study cohorts).
82
 
 
 
 
 
83
  ## License and attribution
84
 
85
  - The CNN feature extractor embedded in `bin/cxr_ckd5_infer` is © Ayis Pyrros et al.
bin/cxr_ckd5_infer ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f33388521742287c0156376b6ba902c9a30d7ea2a30f2d7fcf5e2e505678045
3
+ size 316179200
examples/sample_cxr.png ADDED

Git LFS Details

  • SHA256: 54637429eef039060cf9feb4a07042d4986a71042b41cd1c833befd26cabe9bd
  • Pointer size: 131 Bytes
  • Size of remote file: 457 kB