You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question Regarding Dataset Structure and Preprocessing for Fundus Experiments #3
I have downloaded the official fundus datasets (Drishti-GS, RIM-ONE, and REFUGE) from the links mentioned in the paper. While trying to run the preprocessing script, I noticed that the directory structure of the downloaded datasets seems a bit different from what appears to be expected in preprocess_fundus.py. For example, the script looks for paths like:
{orig_dir}/{site}/image/*.png
However, in the official datasets I downloaded, I could not find the image/ and mask/ folders under each site.
I was wondering whether the datasets need to be reorganized into a specific folder structure before running the preprocessing script. If that is the case, could you kindly let me know what the expected directory layout should look like?
Also, I just wanted to check if there were any additional preprocessing steps used before running the code that might not be included in the repository.
Yes, that's correct you should manually create the expected tree before running the preprocessing script.
Alternatively you can modify the preprocessing scripts to work on the original folder structure.
The only preprocessing done is the one included in the repo, as far as I recall.
I remember pre-processing and sorting out issues with these datasets is not the easiest, so I'm keeping this open for now in case you have more issues, feel free to close it once you get everything working.
Activity
siomvas commentedon Mar 11, 2026
Yes, that's correct you should manually create the expected tree before running the preprocessing script.
Alternatively you can modify the preprocessing scripts to work on the original folder structure.
The only preprocessing done is the one included in the repo, as far as I recall.
I remember pre-processing and sorting out issues with these datasets is not the easiest, so I'm keeping this open for now in case you have more issues, feel free to close it once you get everything working.