mirror of https://github.com/explosion/spaCy.git
Remove outdated arg from train
This commit is contained in:
parent
e957d66b92
commit
3f0d61232d
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue