jleuschn / dival

Deep Inversion Validation Library
MIT License
75 stars 13 forks source link

Unable to finish downloading #41

Closed agaldran closed 1 year ago

agaldran commented 1 year ago

Hello!

Thanks for this amazing work, it looks like tons of care have been put in building this library.

Unfortunately, it seems I am unable to even use the datasets functionality. I have tried twice the following:

from dival import get_standard_dataset
dataset = get_standard_dataset('lodopab')

And in every case it manages to download the first six files, but when it gets to downloading file 7/9: 'patient_ids_rand_test.csv', it crashes with a key error: image

BTW I also tried with:

import dival
dival.datasets.lodopab_dataset.download_lodopab()

And got almost the same error: image

Any clues about how to fix this? Thanks!

agaldran commented 1 year ago

Hello again,

I manage to make this work by downloading manually those three csv files from zenodo and putting them in the corresponding directory, but I am leaving this issue open in case you want to fix it? Otherwise, please feel free to close it.

Cheers,

Adrian

jleuschn commented 1 year ago

Hey Adrian,

seems to me that at least by now not only the csv but also the zip files couldn't be downloaded anymore. Both should now be fixed after #42 (thanks to @julianbopp).

Best, Johannes