direct.cli package#

Submodules#

direct.cli.predict module#

direct.cli.predict.register_parser(parser)[source][source]#

Register wsi commands to a root parser.

direct.cli.train module#

direct.cli.train.register_parser(parser)[source][source]#

Register wsi commands to a root parser.

direct.cli.upload module#

class direct.cli.upload.BaseArgs(epilog=None, add_help=True, **overrides)[source][source]#

Bases: ArgumentParser

Defines global default arguments.

direct.cli.upload.register_parser(parser)[source][source]#

Register upload commands to a root parser.

direct.cli.upload.upload_from_argparse(args)[source][source]#

direct.cli.utils module#

direct.cli.utils.check_train_val(key, name)[source][source]#
direct.cli.utils.file_or_url(path)[source][source]#
Return type:

NewType()(FileOrUrl, Union[Path, str])

direct.cli.utils.is_file(path)[source][source]#

Module contents#

DIRECT Command-line interface.

This is the file which builds the main parser.

direct.cli.main()[source][source]#

Console script for direct.