kits21 icon indicating copy to clipboard operation
kits21 copied to clipboard

Connection Error while running the get_imaging.py file

Open WallE1602 opened this issue 2 years ago • 1 comments

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.

WallE1602 avatar Oct 18 '22 09:10 WallE1602

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.

neheller avatar Oct 19 '22 00:10 neheller