Model Description
Minimal dataset for manuscript PONE-D-23-21560
Pre-requisites
- The models and results require images from the UK Biobank dataset.
- The input files provided in this repository only contain the image names and simple accompanying metadata.
- To gain access to the UK Biobank dataset, please apply for access using this link.
- After access permission has been granted, follow the instructions from UK Biobank, https://biobank.ctsu.ox.ac.uk/crystal/ukb/docs/ukbfetch_instruct.html, in fetching the left (field ID 21015) and right (field ID 21016) fundus photographs.
Getting started
-
Install required python packages by running pip install requirement.txt
-
Run "1. Generate dataset summary table.py" to recreate table 1
-
Run "2. Generate augmented images.py" with argument as the directory where the UK Biobank images are stored to create a local copy of the images captured in the test set.
For example, if the images are stored in "c:\biobank images" then run console command in the following format: python.exe "2. Generate augmented images.py" "c:\biobank images"
-
Run "3. Evaluate.py" to generate the result tables 2 and 3
-
Run "4. Hypothesis test.py" to carry out the hypothesis tests in tables 2 and 3.
Citation
BibTeX:
[More Information Needed]
Terms and conditions
[More Information Needed]