Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit e8cd8db

Browse files
Fix logger
1 parent 6ceb211 commit e8cd8db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

train.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def main(
600600
text_encoder_lora_modules: Tuple[str] = ["CLIPEncoderLayer"],
601601
lora_rank: int = 16,
602602
lora_path: str = '',
603-
logger: str = 'tensorboard',
603+
logger_type: str = 'tensorboard',
604604
**kwargs
605605
):
606606

@@ -609,7 +609,7 @@ def main(
609609
accelerator = Accelerator(
610610
gradient_accumulation_steps=gradient_accumulation_steps,
611611
mixed_precision=mixed_precision,
612-
log_with=logger,
612+
log_with=logger_type,
613613
project_dir=output_dir
614614
)
615615

0 commit comments

Comments
 (0)