Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 11, 2024
1 parent 6afd64b commit dc6adeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pvnet/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dc6adeb

Please sign in to comment.