Remove outdated arg from train

This commit is contained in:
Matthew Honnibal 2020-09-29 16:47:44 +02:00
parent e957d66b92
commit 3f0d61232d
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def train_cli(
def init_pipeline( def init_pipeline(
config: Config, output_path: Optional[Path], *, use_gpu: int = -1 config: Config, output_path: Optional[Path], *, use_gpu: int = -1
) -> Language: ) -> Language:
init_kwargs = {"use_gpu": use_gpu, "silent": False} init_kwargs = {"use_gpu": use_gpu}
if output_path is not None: if output_path is not None:
init_path = output_path / "model-initial" init_path = output_path / "model-initial"
if not init_path.exists(): if not init_path.exists():