Image Segmentation
Transformers
Safetensors
cxr_basic
feature-extraction
chest_x_ray
x_ray
medical_imaging
radiology
segmentation
classification
lungs
heart
custom_code
Instructions to use ianpan/chest-x-ray-basic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ianpan/chest-x-ray-basic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="ianpan/chest-x-ray-basic", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ianpan/chest-x-ray-basic", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,8 @@ base_model:
|
|
| 14 |
pipeline_tag: image-segmentation
|
| 15 |
---
|
| 16 |
|
| 17 |
-
This model performs both segmentation and classification on chest radiographs (X-rays).
|
|
|
|
| 18 |
For frontal radiographs, the model segments the: 1) right lung, 2) left lung, and 3) heart.
|
| 19 |
The model also predicts the chest X-ray view (AP, PA, lateral), patient age, and patient sex.
|
| 20 |
The [CheXpert](https://stanfordmlgroup.github.io/competitions/chexpert/) (small version) and [NIH Chest X-ray](https://nihcc.app.box.com/v/ChestXray-NIHCC) datasets were used to train the model.
|
|
|
|
| 14 |
pipeline_tag: image-segmentation
|
| 15 |
---
|
| 16 |
|
| 17 |
+
This model performs both segmentation and classification on chest radiographs (X-rays).
|
| 18 |
+
The model uses a `tf_efficientnetv2_s` backbone with a U-Net decoder for segmentation and linear layer for classification.
|
| 19 |
For frontal radiographs, the model segments the: 1) right lung, 2) left lung, and 3) heart.
|
| 20 |
The model also predicts the chest X-ray view (AP, PA, lateral), patient age, and patient sex.
|
| 21 |
The [CheXpert](https://stanfordmlgroup.github.io/competitions/chexpert/) (small version) and [NIH Chest X-ray](https://nihcc.app.box.com/v/ChestXray-NIHCC) datasets were used to train the model.
|