mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
* Fix train command in fabfile
This commit is contained in:
parent
1e166eb9cd
commit
7b8a921a80
2
fabfile.py
vendored
2
fabfile.py
vendored
|
@ -132,7 +132,7 @@ def train(json_dir=None, dev_loc=None, model_dir=None):
|
||||||
model_dir = 'models/en/'
|
model_dir = 'models/en/'
|
||||||
with virtualenv(VENV_DIR):
|
with virtualenv(VENV_DIR):
|
||||||
with lcd(path.dirname(__file__)):
|
with lcd(path.dirname(__file__)):
|
||||||
local('python bin/init_model.py lang_data/en/ corpora/en/ ' + model_dir)
|
local('python bin/init_model.py en lang_data/ corpora/ ' + model_dir)
|
||||||
local('python bin/parser/train.py %s %s' % (json_dir, model_dir))
|
local('python bin/parser/train.py %s %s' % (json_dir, model_dir))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user