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 af754c6 commit 15024a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pvnet/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ def train(config: DictConfig) -> Optional[float]:

# upload configuration up to wandb
OmegaConf.save(config, "./experiment_config.yaml")
wandb_logger.experiment.save(f"{callback.dirpath}/data_config.yaml", callback.dirpath)
wandb_logger.experiment.save(
f"{callback.dirpath}/data_config.yaml", callback.dirpath
)
wandb_logger.experiment.save("./experiment_config.yaml")

break
Expand Down

0 comments on commit 15024a9

Please sign in to comment.