Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Set resume flag to false

* Check existance of val dataset
  • Loading branch information
AyushExel committed Apr 2, 2021
1 parent bf6eb9d commit f82e613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/wandb_logging/wandb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def setup_training(self, opt, data_dict):
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()
Expand Down

0 comments on commit f82e613

Please sign in to comment.