Spaces:
Runtime error
Runtime error
fix(train): variable not defined
Browse files- 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 ({
|
| 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 |
|