otx.cli.install#
OTX CLI Installation.
Functions
|
Add subparser for install command. |
|
Install OTX requirements. |
- otx.cli.install.add_install_parser(subcommands_action: _ActionSubCommands) None [source]#
Add subparser for install command.
- Parameters:
subcommands_action (_ActionSubCommands) – Sub-Command in CLI.
- Returns:
None
- otx.cli.install.otx_install(option: str | None = None, verbose: bool = False, do_not_install_torch: bool = False, user: bool = False) int [source]#
Install OTX requirements.
- Parameters:
- Raises:
ValueError – When the task is not supported.
- Returns:
Status code of the pip install command.
- Return type: