2020-06-22 01:45:40 +03:00
|
|
|
from wasabi import msg
|
|
|
|
|
2020-07-10 18:57:40 +03:00
|
|
|
from ._util import app, setup_cli # noqa: F401
|
2020-06-22 01:45:40 +03:00
|
|
|
|
|
|
|
# These are the actual functions, NOT the wrapped CLI commands. The CLI commands
|
|
|
|
# are registered automatically and won't have to be imported here.
|
2018-11-30 22:16:14 +03:00
|
|
|
from .download import download # noqa: F401
|
|
|
|
from .info import info # noqa: F401
|
|
|
|
from .package import package # noqa: F401
|
|
|
|
from .profile import profile # noqa: F401
|
2020-06-26 20:34:12 +03:00
|
|
|
from .train import train_cli # noqa: F401
|
2018-11-30 22:16:14 +03:00
|
|
|
from .pretrain import pretrain # noqa: F401
|
|
|
|
from .debug_data import debug_data # noqa: F401
|
2020-07-10 20:47:53 +03:00
|
|
|
from .debug_model import debug_model # noqa: F401
|
2018-11-30 22:16:14 +03:00
|
|
|
from .evaluate import evaluate # noqa: F401
|
|
|
|
from .convert import convert # noqa: F401
|
|
|
|
from .init_model import init_model # noqa: F401
|
2020-08-02 16:18:30 +03:00
|
|
|
from .init_config import init_config # noqa: F401
|
2018-11-30 22:16:14 +03:00
|
|
|
from .validate import validate # noqa: F401
|
2020-07-09 02:42:51 +03:00
|
|
|
from .project.clone import project_clone # noqa: F401
|
|
|
|
from .project.assets import project_assets # noqa: F401
|
|
|
|
from .project.run import project_run # noqa: F401
|
|
|
|
from .project.dvc import project_update_dvc # noqa: F401
|
2020-06-22 01:45:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
@app.command("link", no_args_is_help=True, deprecated=True, hidden=True)
|
|
|
|
def link(*args, **kwargs):
|
|
|
|
"""As of spaCy v3.0, model symlinks are deprecated. You can load models
|
|
|
|
using their full names or from a directory path."""
|
|
|
|
msg.warn(
|
|
|
|
"As of spaCy v3.0, model symlinks are deprecated. You can load models "
|
|
|
|
"using their full names or from a directory path."
|
|
|
|
)
|