We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1be3829 commit 1df857fCopy full SHA for 1df857f
torch_em/data/datasets/medical/dsad.py
@@ -39,6 +39,8 @@ def get_dsad_data(path: Union[os.PathLike, str], download: bool = False) -> str:
39
if os.path.exists(data_dir):
40
return data_dir
41
42
+ os.makedirs(path, exist_ok=True)
43
+
44
zip_path = os.path.join(path, "data.zip")
45
print("Downloading the DSAD data. Might take several minutes depending on your internet connection.")
46
util.download_source(path=zip_path, url=URL, download=download, checksum=CHECKSUM)
0 commit comments