Disabled upload_dataset flag temporarily due to an artifact related bug (#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>
This commit is contained in:
Soumik Rakshitandpre-commit-ci[bot] authored and GitHub committed 2022-09-29 23:01:45 +02:00
1 parent 799e3d0cc9
commit 0860e58557
1 file changed
+5
+5
View File
@@ -132,6 +132,11 @@ class WandbLogger():
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