We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee0633b + 564920c commit 7f43497Copy full SHA for 7f43497
ads/model/artifact_downloader.py
@@ -63,7 +63,7 @@ def download(self):
63
"Set `force_overwrite` to `True` if you wish to overwrite."
64
)
65
shutil.rmtree(self.target_dir)
66
- os.mkdir(self.target_dir)
+ os.makedirs(self.target_dir, exist_ok=True)
67
with utils.get_progress_bar(
68
ArtifactDownloader.PROGRESS_STEPS_COUNT + self.PROGRESS_STEPS_COUNT
69
) as progress:
0 commit comments