boris commited on
Commit
4c87adf
1 Parent(s): a2bf605

fix(train): variable not defined

Browse files
Files changed (1) hide show
  1. tools/train/train.py +1 -1
tools/train/train.py CHANGED
@@ -349,7 +349,7 @@ class TrainingArguments:
349
  and not self.overwrite_output_dir
350
  ):
351
  raise ValueError(
352
- f"Output directory ({training_args.output_dir}) already exists and is not empty."
353
  "Use --overwrite_output_dir to overcome."
354
  )
355
 
 
349
  and not self.overwrite_output_dir
350
  ):
351
  raise ValueError(
352
+ f"Output directory ({self.output_dir}) already exists and is not empty."
353
  "Use --overwrite_output_dir to overcome."
354
  )
355