mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
Remove flag from train
This commit is contained in:
parent
d879e7280c
commit
400b5c7792
|
@ -51,7 +51,6 @@ def train(
|
|||
*,
|
||||
use_gpu: int = -1,
|
||||
overrides: Dict[str, Any] = util.SimpleFrozenDict(),
|
||||
use_rehearse: bool = False,
|
||||
):
|
||||
config_path = util.ensure_path(config_path)
|
||||
output_path = util.ensure_path(output_path)
|
||||
|
@ -66,8 +65,6 @@ def train(
|
|||
msg.good(f"Created output directory: {output_path}")
|
||||
msg.info(f"Saving to output directory: {output_path}")
|
||||
setup_gpu(use_gpu)
|
||||
if use_rehearse:
|
||||
msg.info(f"Using rehearsal updates")
|
||||
with show_validation_error(config_path):
|
||||
config = util.load_config(config_path, overrides=overrides, interpolate=False)
|
||||
msg.divider("Initializing pipeline")
|
||||
|
|
Loading…
Reference in New Issue
Block a user