Closed FRENKIE-CHIANG closed 5 months ago
Hi, @FRENKIE-CHIANG. Thank you for using the MIMIC-CXR-VQA dataset! To access the test set of MIMIC-CXR-VQA dataset, please follow these steps:
test.json
File: Execute the script provided below. (For more details, refer to how to access)bash download_and_build_dataset.sh
download_images.sh
Script: After obtaining the test.json file, you need to modify the download_images.sh
script to ensure only the test set is downloaded. Considering the large scale of the MIMIC-CXR-JPG dataset you mentioned, this revision enables downloading a smaller subset of images. Modify the script as follows:# Gather image paths from the test JSON dataset file
image_paths_test=$(get_image_paths 'mimiccxrvqa/dataset/test.json')
# Set the script to use only the test set image paths
image_paths=$(echo -e "$image_paths_test")
If you encounter any problems with these steps or experience any inconvenience, please let us know.
Thanks for your reply. I have got the image data(MIMIC-CXR-JPG), but in this dataset, there are no txt files about the caption or VQA-test data for the images. I found that these txt files are in the MIMI-CXR dataset(not in MIMIC-CXR-JPG). But for some reasons, I cannot get the MIMIC-CXR-JPG now. I'm so sorry but I need the txt files corresponding to the images urgently. Could you please provide me with the corresponding txt file of images (including caption and VQA text), or provide me with a convenient download path, so that I can only download txt files, not image files. If you can help me, I will be most grateful to you, thank you so much!!! ------------------ Original ------------------ From: @.>; Date: Tue, Apr 2, 2024 01:46 PM To: @.>; Cc: @.>; @.>; Subject: Re: [baeseongsu/mimic-cxr-vqa] Which compressed folder is the test set of MIMIC-CXR dataset? (Issue #2)
Hi, @FRENKIE-CHIANG. Thank you for using the MIMIC-CXR-VQA dataset! To access the test set of MIMIC-CXR-VQA dataset, please follow these steps:
Construct the test.json File: Execute the script provided below. (For more details, refer to how to access) bash download_and_build_dataset.sh
Modify the download_images.sh Script: After obtaining the test.json file, you need to modify the download_images.sh script to ensure only the test set is downloaded. Considering the large scale of the MIMIC-CXR-JPG dataset you mentioned, this revision enables downloading a smaller subset of images. Modify the script as follows:
(before)
(after)
If you encounter any problems with these steps or experience any inconvenience, please let us know.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Hi, @FRENKIE-CHIANG!
For downloading the corresponding radiology report (which can be viewed as the "caption") of an image in MIMIC-CXR, there are two methods:
wget
command to download only the report dataset: wget -r -N -c -np --user ${user} --ask-password https://physionet.org/files/mimic-cxr/2.0.0/mimic-cxr-reports.zip
mimic-cxr-reports.zip
and download the file from https://physionet.org/content/mimic-cxr/2.0.0/.For access to the VQA-test data of MIMIC-CXR-VQA, please refer to how to access. Through this process, you can obtain the final test.json
file.
As these datasets are under the PhysioNet Credentialed Health Data License 1.5.0, please be aware that we cannot directly upload the entire dataset freely.
Hello, since the MIMIC-CXR dataset is too large to download, I only need the test set. Which compressed folder is the test set of this dataset?