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

stater_code.get_imaging doesnt download full file #48

Open
jokingbear opened this issue Feb 12, 2020 · 4 comments
Open

stater_code.get_imaging doesnt download full file #48

jokingbear opened this issue Feb 12, 2020 · 4 comments

Comments

@jokingbear
Copy link

Hello there, I tried following the intrusction on the repository, but the files werent downloaded fully

image

I'm using get_imaging.py from interpolated branch

@WaSiri
Copy link

WaSiri commented Mar 5, 2020

get_imaging.py from master can't download fully either

@jokingbear
Copy link
Author

for all those that can't use get_imaging, you can use this script to download the data

import wget
import os


url = "https://kits19.sfo2.digitaloceanspaces.com"

for i in range(300):
    print(i + 1, "/", 300)

    if os.path.exists(f"data/case_{i:05d}/imaging.nii.gz"):
        continue

    wget.download(f"{url}/interpolated_{i:05d}.nii.gz", f"data/case_{i:05d}/imaging.nii.gz")
    print("")

@Mrwjm
Copy link

Mrwjm commented Mar 6, 2020

I am sorry that I also can't get the whole data

@jokingbear
Copy link
Author

I can download interpolated data with the above script just fine, have you all tried interpolated one?

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