kits21
kits21 copied to clipboard
Connection Error while running the get_imaging.py file
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.
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.