Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prediction of a general fundus image from hospital #66

Open
anitstanly opened this issue Jun 12, 2019 · 3 comments
Open

Prediction of a general fundus image from hospital #66

anitstanly opened this issue Jun 12, 2019 · 3 comments

Comments

@anitstanly
Copy link

Hi
I used another data for testing but it wont work , did not showing any result and got error as "IOError: Unable to open file (unable to open file: name = './DRIVE_datasets_training_testing/DRIVE_dataset_imgs_test.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)"
how can solve this? please help me

@IronLavender
Copy link

Hi
I used another data for testing but it wont work , did not showing any result and got error as "IOError: Unable to open file (unable to open file: name = './DRIVE_datasets_training_testing/DRIVE_dataset_imgs_test.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)"
how can solve this? please help me

Have you solved it? I also fail as well as you……

@anitstanly
Copy link
Author

anitstanly commented Jun 14, 2019

Helo
No, I couldnt solve this problem.......
Here in this code ,Stare result is provided. How did it generated using this code .......

@AliSaeed86
Copy link

AliSaeed86 commented Dec 14, 2021

Hi,
for STARE dataset, you may have to change the first part of the configuration.txt file as follow:

[data paths]
path_local =  /content/drive/MyDrive/Dataset/STARE_datasets_training_testing/          # you have to put the correct path here
train_imgs_original = STARE_dataset_imgs_train.hdf5
train_groundTruth = STARE_dataset_groundTruth_train.hdf5
train_border_masks = STARE_dataset_borderMasks_train.hdf5
test_imgs_original = STARE_dataset_imgs_test.hdf5
test_groundTruth = STARE_dataset_groundTruth_test.hdf5
test_border_masks = STARE_dataset_borderMasks_test.hdf5

and for the code, you have to do Ctrl+H and replace DRIVE with STARE.
you also need to preprocess the dataset beforehand. for me, i rescaled all STARE images to be the same size as DRIVE images, and i created mask for every image to be exactly as in DRIVE dataset. finally don't forget to rename all the images in STARE to be as the images' names in DRIVE dataset.

Note: i used Colab Pro to execute the code as the RAM offered in free Colab is not sufficient to handle all 190000 patches.

Hope this helps.
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants