Skip to content

Commit

Permalink
fix(train): sub_dir_callable is not a valid kwarg to pytorch lightnin…
Browse files Browse the repository at this point in the history
…g logger
  • Loading branch information
roedoejet committed Sep 21, 2023
1 parent abc0b1c commit 10fe0f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Empty file removed everyvoice/aligner-model.json
Empty file.
7 changes: 6 additions & 1 deletion everyvoice/base_cli/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ def train_base_command(

pbar.update()
pbar.refresh()
tensorboard_logger = TensorBoardLogger(**(config.training.logger.model_dump()))
tensorboard_logger = TensorBoardLogger(
**{
**(config.training.logger.model_dump(exclude={"sub_dir_callable": True})),
**{"sub_dir": config.training.logger.sub_dir},
}
)
lr_monitor = LearningRateMonitor(logging_interval="step")
logger.info("Starting training.")
ckpt_callback = ModelCheckpoint(
Expand Down
Empty file.

0 comments on commit 10fe0f5

Please sign in to comment.