Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understanding evaluation on Chest X-Ray Datasets #3

Open
dhudsmith opened this issue Apr 11, 2024 · 0 comments
Open

Understanding evaluation on Chest X-Ray Datasets #3

dhudsmith opened this issue Apr 11, 2024 · 0 comments

Comments

@dhudsmith
Copy link

Hello, I am trying to understand the evaluation procedure for the Chest X-Ray datasets. The appendix clearly states that the 5 competition categories from CheXpert were used.

image

However, in the code, all 14 classes contained in the original CheXpert were used. For example, for VinDr CXR:

CHEXPERT_LABELS_IDX = np.array(
[
CHEXPERT_LABELS['Atelectasis'], CHEXPERT_LABELS['Enlarged Cardiomediastinum'], CHEXPERT_LABELS['Cardiomegaly'],
CHEXPERT_LABELS['Lung Opacity'], CHEXPERT_LABELS['Lung Lesion'], CHEXPERT_LABELS['Edema'],
CHEXPERT_LABELS['Consolidation'], CHEXPERT_LABELS['Pneumonia'], CHEXPERT_LABELS['Atelectasis'],
CHEXPERT_LABELS['Pneumothorax'], CHEXPERT_LABELS['Pleural Effusion'], CHEXPERT_LABELS['Pleural Other'],
CHEXPERT_LABELS['Fracture'], CHEXPERT_LABELS['Support Devices']
],
dtype=np.int32
)
NUM_CLASSES = 14 # 14 total: len(self.CHEXPERT_LABELS_IDX)

label = torch.tensor(self.labels[index][self.CHEXPERT_LABELS_IDX]).long()

Can you clarify how these VinDR, MIMIC, and CheXpert numbers were calculated? Was the model trained using all 14 classes but evaluated just on the 5 classes of interest?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant