chestx / README.md
AntonXue's picture
Update README.md
8410a65 verified
metadata
dataset_info:
  features:
    - name: image
      dtype: image
    - name: pathols
      sequence: uint8
    - name: structs
      sequence:
        sequence:
          sequence: uint8
  splits:
    - name: train
      num_bytes: 17021730614.839962
      num_examples: 23094
    - name: test
      num_bytes: 4255801185.160039
      num_examples: 5774
  download_size: 732030045
  dataset_size: 21277531800
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*
license: apache-2.0
task_categories:
  - image-classification
  - feature-extraction

Dataset Structure

This dataset contains vision data for chest X-ray pathology identification.

Data Fields

  • image: The PIL image of the chest X-ray. These images are size (224,224) by default.
  • pathols: A binary-valued (14)-shaped array that indicates whether each of the 14 pathologies is present.
  • structs: A binary-valued array of shapes (14,224,224) that gives the segmentation for each of the 14 anatomical structures.

The 14 pathologies are:

  1. Atelectasis
  2. Cardiomegaly
  3. Consolidation
  4. Edema
  5. Effusion
  6. Emphysema
  7. Fibrosis
  8. Hernia
  9. Infiltration
  10. Mass
  11. Nodule
  12. Pleural Thickening
  13. Pneumonia
  14. Pneumothorax

The 14 anatomical structures are:

  1. Left Clavicle
  2. Right Clavicle
  3. Left Scapula
  4. Right Scapula
  5. Left Lung
  6. Right Lung
  7. Left Hilus Pulmonis
  8. Right Hilus Pulmonis
  9. Heart
  10. Aorta
  11. Facies Diaphragmatica
  12. Mediastinum
  13. Weasand
  14. Spine

Data Splits

  • train: 23094 samples
  • test: 5774 samples

Usage

from datasets import load_dataset
train_dataset = load_dataset("BrachioLab/chestx", split="train")
test_dataset = load_dataset("BrachioLab/chestx", split="test")