SIIM-ACR Pneumothorax Segmentation - Stage 2

Hi all,

I’m trying to get the SIIM Pneumothorax Segmentation (stage 2) challenge on Kaggle to work, but unfortunately i’m getting stuck.

Someone made this nice notebook for the 1st stage of the competition. But it seems that they totally changed the structure of the dataset with the 2nd stage.

They now supply you with a ‘stage_2_train.csv’ with an ‘ImageId’ and ‘EncodedPixels’ and a encoding and decoding function for the ‘EncodedPixels’. However, the image files (dicoms) don’t have the ‘ImageId’ in their filename, but only in their dicom-data. How do I get the filenames out of the dicom-data to supply them to my datablock? Did anyone here get the 2nd stage of the competition to work with fastai(2)?