cellmap_flow.cli.infer
cellmap_flow infer <type>: start a model’s inference server, then open
the viewer on its predictions and serve the dashboard.
There is a subcommand for each model type (models.registry), built when
click asks for it. It takes the type’s constructor arguments as options
(registry.click_options), and the dataset (-d), queue (-q),
billing project (-P), --resample, --server-check and --env
(the environment the server runs in, models.envs) as its own.
run, the generic form before 0.3.0 (cellmap_flow run -m TYPE -c
key=value), is a deprecated alias: it says which infer command it
stands for, and runs it.
Attributes
Functions
|
|
|
Dynamically create a Click command for a ModelConfig subclass. |
Module Contents
- cellmap_flow.cli.infer.logger
- cellmap_flow.cli.infer.run_generic(ctx, model_type, data_path, queue, project, config, server_check)
cellmap_flow run -m TYPE -c key=value, the form before 0.3.0:cellmap_flow infer TYPE --key value, which it prints and runs.
- cellmap_flow.cli.infer.create_dynamic_command(cli_name: str, config_class: Type[cellmap_flow.models.models_config.ModelConfig])
Dynamically create a Click command for a ModelConfig subclass.
- cellmap_flow.cli.infer.infer