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

Connection Error while running the get_imaging.py file #56

Open
WallE1602 opened this issue Oct 18, 2022 · 1 comment
Open

Connection Error while running the get_imaging.py file #56

WallE1602 opened this issue Oct 18, 2022 · 1 comment

Comments

@WallE1602
Copy link

Can someone help me with this. I cloned the repo, ran the get_imaging.py file. initially I want to check the dataset so that is why I only ran for 10 cases. But every time there is this error below-

HTTPSConnectionPool(host='kits19.sfo2.digitaloceanspaces.com', port=443): Max retries exceeded with url: /master_00000.nii.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001E915A80430>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

Would appreciate if I can get an immediate help in this regard. TIA.

@neheller
Copy link
Owner

This is likely due to an unstable internet connection. You might just have to retry the command a few times to get every case -- it shouldn't re-download anything that was already downloaded successfully. You might also have more luck with get_imaging_v2.py which is in that same folder.

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

2 participants