dacapo.blockwise.segment_worker
Module Contents
Functions
|
|
|
Start a worker to run a segment function on a given dataset. |
|
Spawn a worker to predict on a given dataset. |
Attributes
- dacapo.blockwise.segment_worker.logger
- dacapo.blockwise.segment_worker.cli(log_level)
- dacapo.blockwise.segment_worker.fit = 'shrink'
- dacapo.blockwise.segment_worker.read_write_conflict = True
- dacapo.blockwise.segment_worker.path
- dacapo.blockwise.segment_worker.start_worker(input_container: str, input_dataset: str, output_container: str, output_dataset: str, tmpdir: str, function_path: str)
Start a worker to run a segment function on a given dataset.
- Parameters:
input_container (str) – The input container.
input_dataset (str) – The input dataset.
output_container (str) – The output container.
output_dataset (str) – The output dataset.
tmpdir (str) – The temporary directory.
function_path (str) – The path to the segment function.
- dacapo.blockwise.segment_worker.spawn_worker(input_array_identifier: dacapo.store.array_store.LocalArrayIdentifier, output_array_identifier: dacapo.store.array_store.LocalArrayIdentifier, tmpdir: str, function_path: str)
Spawn a worker to predict on a given dataset.
- Parameters:
model (Model) – The model to use for prediction.
raw_array (Array) – The raw data to predict on.
prediction_array_identifier (LocalArrayIdentifier) – The identifier of the prediction array.