Skip to content

Commit

Permalink
Disabled upload_dataset flag temporarily due to an artifact related b…
Browse files Browse the repository at this point in the history
…ug (#9652)

* disabled upload_dataset flag temporarily due to an artifact related bug

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
soumik12345 and pre-commit-ci[bot] committed Sep 29, 2022
1 parent 799e3d0 commit 0860e58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/loggers/wandb/wandb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ def __init__(self, opt, run_id=None, job_type='Training'):
job_type (str) -- To set the job_type for this run
"""
# Temporary-fix
if opt.upload_dataset:
opt.upload_dataset = False
LOGGER.info("Uploading Dataset functionality is not being supported temporarily due to a bug.")

# Pre-training routine --
self.job_type = job_type
self.wandb, self.wandb_run = wandb, None if not wandb else wandb.run
Expand Down

0 comments on commit 0860e58

Please sign in to comment.