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.
1 parent 94965b5 commit 564920cCopy full SHA for 564920c
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