From a5fff1df512c7f64c8dfbb34719f19296e0d1576 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 26 Aug 2020 15:45:51 +0200 Subject: [PATCH] Remove outdated non-empty output dir warning [ci skip] --- spacy/cli/train.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spacy/cli/train.py b/spacy/cli/train.py index cab1ef978..d9ab8eca5 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -394,14 +394,6 @@ def verify_cli_args(config_path: Path, output_path: Optional[Path] = None) -> No if not output_path.exists(): output_path.mkdir() msg.good(f"Created output directory: {output_path}") - elif output_path.exists() and [p for p in output_path.iterdir() if p.is_dir()]: - msg.warn( - "Output directory is not empty.", - "This can lead to unintended side effects when saving the model. " - "Please use an empty directory or a different path instead. If " - "the specified output path doesn't exist, the directory will be " - "created for you.", - ) def verify_config(nlp: Language) -> None: