Unverified 提交 514ebcdf authored 作者: Ayush Chaurasia's avatar Ayush Chaurasia 提交者: GitHub

Fix: #2674 (#2683)

* Set resume flag to false * Check existance of val dataset
上级 1148e2ea
......@@ -158,7 +158,7 @@ class WandbLogger():
return data_dict
def download_dataset_artifact(self, path, alias):
if path.startswith(WANDB_ARTIFACT_PREFIX):
if path and path.startswith(WANDB_ARTIFACT_PREFIX):
dataset_artifact = wandb.use_artifact(remove_prefix(path, WANDB_ARTIFACT_PREFIX) + ":" + alias)
assert dataset_artifact is not None, "'Error: W&B dataset artifact doesn\'t exist'"
datadir = dataset_artifact.download()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论