Ayush Chaurasia
commited on
Fix: #2674 (#2683)
Browse files* Set resume flag to false
* Check existance of val dataset
utils/wandb_logging/wandb_utils.py
CHANGED
@@ -158,7 +158,7 @@ class WandbLogger():
|
|
158 |
return data_dict
|
159 |
|
160 |
def download_dataset_artifact(self, path, alias):
|
161 |
-
if path.startswith(WANDB_ARTIFACT_PREFIX):
|
162 |
dataset_artifact = wandb.use_artifact(remove_prefix(path, WANDB_ARTIFACT_PREFIX) + ":" + alias)
|
163 |
assert dataset_artifact is not None, "'Error: W&B dataset artifact doesn\'t exist'"
|
164 |
datadir = dataset_artifact.download()
|
|
|
158 |
return data_dict
|
159 |
|
160 |
def download_dataset_artifact(self, path, alias):
|
161 |
+
if path and path.startswith(WANDB_ARTIFACT_PREFIX):
|
162 |
dataset_artifact = wandb.use_artifact(remove_prefix(path, WANDB_ARTIFACT_PREFIX) + ":" + alias)
|
163 |
assert dataset_artifact is not None, "'Error: W&B dataset artifact doesn\'t exist'"
|
164 |
datadir = dataset_artifact.download()
|