From 9e0f169f9188856e0bd78f3b224b7874cdb39651 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 25 Jun 2022 23:57:04 +0200 Subject: Fix config path in wandb callback --- training/callbacks/wandb_callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'training') diff --git a/training/callbacks/wandb_callbacks.py b/training/callbacks/wandb_callbacks.py index f98cfa5..9579f7e 100644 --- a/training/callbacks/wandb_callbacks.py +++ b/training/callbacks/wandb_callbacks.py @@ -42,7 +42,7 @@ class UploadConfigAsArtifact(Callback): """Upload all *.py files to W&B as an artifact, at the beginning of the run.""" def __init__(self) -> None: - self.config_dir = Path(".hydra/") + self.config_dir = Path(".") @rank_zero_only def on_train_start(self, trainer: Trainer, pl_module: LightningModule) -> None: -- cgit v1.2.3-70-g09d2