dacapo.blockwise.predict_worker

Module Contents

Functions

cli(log_level)

start_worker(run_name, iteration, input_container, ...)

spawn_worker(run_name, iteration, ...)

Spawn a worker to predict on a given dataset.

Attributes

logger

read_write_conflict

fit

path

dacapo.blockwise.predict_worker.logger
dacapo.blockwise.predict_worker.read_write_conflict: bool = False
dacapo.blockwise.predict_worker.fit: str = 'valid'
dacapo.blockwise.predict_worker.path
dacapo.blockwise.predict_worker.cli(log_level)
dacapo.blockwise.predict_worker.start_worker(run_name: str, iteration: int | None, input_container: pathlib.Path | str, input_dataset: str, output_container: pathlib.Path | str, output_dataset: str)
dacapo.blockwise.predict_worker.spawn_worker(run_name: str, iteration: int | None, input_array_identifier: dacapo.store.array_store.LocalArrayIdentifier, output_array_identifier: dacapo.store.array_store.LocalArrayIdentifier)

Spawn a worker to predict on a given dataset.

Parameters:
  • run_name (str) – The name of the run to apply.

  • iteration (int or None) – The training iteration of the model to use for prediction.

  • input_array_identifier (LocalArrayIdentifier) – The raw data to predict on.

  • output_array_identifier (LocalArrayIdentifier) – The identifier of the prediction array.