Could this be a limitation of Colab? Or is something else wrong? I can start this download in a browser.
Permission denied: https://drive.google.com/uc?id=1jzeNU1EKnK81PyTsrx0ujfNl-t0Jo8uE
Maybe you need to change permission over 'Anyone with the link'?
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-6-bfeb346e09dd> in <module>()
8 data_dir = os.path.join(root_dir, "Task09_Spleen")
9 if not os.path.exists(data_dir):
---> 10 download_and_extract(resource, compressed_file, root_dir, md5)
1 frames
/usr/local/lib/python3.6/dist-packages/monai/apps/utils.py in download_url(url, filepath, hash_val, hash_type)
106 if not os.path.exists(filepath):
107 raise RuntimeError(
--> 108 f"Download of file from {url} to {filepath} failed due to network issue or denied permission."
109 )
110 elif url.startswith("https://msd-for-monai.s3-us-west-2.amazonaws.com"):
RuntimeError: Download of file from https://drive.google.com/uc?id=1jzeNU1EKnK81PyTsrx0ujfNl-t0Jo8uE to /tmp/tmpi41dnta1/Task09_Spleen.tar failed due to network issue or denied permission.
Could this be a limitation of Colab? Or is something else wrong? I can start this download in a browser.