hyrax.verbs.prepare#

Attributes#

Classes#

Prepare

Prepare Verb, Prepares a dataset and returns it

Module Contents#

logger[source]#
class Prepare(config)[source]#

Bases: hyrax.verbs.verb_registry.Verb

Prepare Verb, Prepares a dataset and returns it

__init__()[source]#

Overall initialization for all verbs that saves the config

cli_name = 'prepare'[source]#
add_parser_kwargs[source]#
static setup_parser(parser)[source]#

We don’t need any parser setup for CLI opts

run_cli(args=None)[source]#

CLI stub for Prepare verb

run()[source]#

Prepare the dataset for a given model and data loader using the verb’s configuration.

Uses self.config to construct and return the prepared dataset.