Skip to content

Commit

Permalink
Disable wandb by default
Browse files Browse the repository at this point in the history
  • Loading branch information
billl-jiang committed Jan 9, 2023
1 parent 93dcc23 commit 6643f17
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions configs/config_mld_humanml3d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ LOGGER:
VAL_EVERY_STEPS: 200
TENSORBOARD: True
WANDB:
PROJECT: None
PROJECT: null
OFFLINE: False
RESUME_ID: None
RESUME_ID: null
4 changes: 2 additions & 2 deletions configs/config_novae_humanml3d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ LOGGER:
VAL_EVERY_STEPS: 200
TENSORBOARD: True
WANDB:
PROJECT: None
PROJECT: null
OFFLINE: False
RESUME_ID: None
RESUME_ID: null
4 changes: 2 additions & 2 deletions configs/config_vae_humanml3d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ LOGGER:
VAL_EVERY_STEPS: 200
TENSORBOARD: True
WANDB:
PROJECT: None
PROJECT: null
OFFLINE: False
RESUME_ID: None
RESUME_ID: null
3 changes: 1 addition & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main():

# tensorboard logger and wandb logger
loggers = []
if not isinstance(cfg.LOGGER.WANDB.PROJECT, str):
if cfg.LOGGER.WANDB.PROJECT:
wandb_logger = pl_loggers.WandbLogger(
project=cfg.LOGGER.WANDB.PROJECT,
offline=cfg.LOGGER.WANDB.OFFLINE,
Expand All @@ -74,7 +74,6 @@ def main():
)
loggers.append(wandb_logger)
if cfg.LOGGER.TENSORBOARD:
print(cfg.LOGGER.WANDB.PROJECT)
tb_logger = pl_loggers.TensorBoardLogger(save_dir=cfg.FOLDER_EXP,
sub_dir="tensorboard",
version="",
Expand Down

0 comments on commit 6643f17

Please sign in to comment.