How to match .h5 images and CSV

#1
by Einstellung - opened

Hello @rvignav , we would like to use this dataset in the jax diffusers sprint.
We tried to load with datasets.load_dataset() but got the following error "Could not convert {table.schema} to {features} because the column names do not match."
So we cloned the repository and read the .h5 file, now we'd like to know how to get the ids for each image and match them to the metadata.
any clue will be useful
Thank you

Rajpurkar Lab / Harvard Medical AI org

Hi, I'd recommend downloading the dataset from PhysioNet at this link. There shouldn't be any errors there. However, feel free to re-open the thread if that doesn't work!

rvignav changed discussion status to closed

I mean we've already download and read the .h5 and the .csv, can you give an example or hint how to match each image in the cxr dataset to the rows in the csv? sorry if it's a silly question

Einstellung changed discussion status to open
Einstellung changed discussion status to closed

Sign up or log in to comment