From dc6adeb628ac104a8fd100114b2774450fd60dc0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:44:57 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvnet/training.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pvnet/training.py b/pvnet/training.py index a95f6acd..f0e64caf 100644 --- a/pvnet/training.py +++ b/pvnet/training.py @@ -124,10 +124,10 @@ def train(config: DictConfig) -> Optional[float]: # upload configuration up to wandb os.makedirs("./configuration", exist_ok=True) - shutil.copyfile(data_config, f"./configuration/data_config.yaml") - OmegaConf.save(config, f"./configuration/config.yaml") - wandb_logger.experiment.save(f"./configuration/data_config.yaml") - wandb_logger.experiment.save(f"./configuration/config.yaml") + shutil.copyfile(data_config, "./configuration/data_config.yaml") + OmegaConf.save(config, "./configuration/config.yaml") + wandb_logger.experiment.save("./configuration/data_config.yaml") + wandb_logger.experiment.save("./configuration/config.yaml") break