Skip to content

Commit

Permalink
added wandb
Browse files Browse the repository at this point in the history
  • Loading branch information
Goader committed May 1, 2023
1 parent c7c36e6 commit 097c888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 132,4 @@ dmypy.json
output
outputs
lightning_logs
wandb
2 changes: 1 addition & 1 deletion main-ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 26,7 @@ def train(cfg: DictConfig, datamodule: pl.LightningDataModule, task: pl.Lightnin
dirpath="output/",
filename=f"cad-{cfg.model.name}-{{epoch:03d}}-{{f1:.4f}}",
)
# wandb_logger = WandbLogger(project="???")
wandb_logger = WandbLogger(project="cad-ml")
trainer = pl.Trainer(
accelerator=cfg.task.accelerator,
# logger=wandb_logger,
Expand Down

0 comments on commit 097c888

Please sign in to comment.