dacapo.validate

Module Contents

Functions

validate(run_name, iteration[, num_workers, ...])

Validate a run at a given iteration. Loads the weights from a previously

validate_run(run, iteration[, num_workers, ...])

Validate an already loaded run at the given iteration. This does not

Attributes

logger

parser

dacapo.validate.logger
dacapo.validate.validate(run_name: str, iteration: int, num_workers: int = 1, output_dtype: str = 'uint8', overwrite: bool = True)

Validate a run at a given iteration. Loads the weights from a previously stored checkpoint. Returns the best parameters and scores for this iteration.

dacapo.validate.validate_run(run: dacapo.experiments.Run, iteration: int, num_workers: int = 1, output_dtype: str = 'uint8', overwrite: bool = True)

Validate an already loaded run at the given iteration. This does not load the weights of that iteration, it is assumed that the model is already loaded correctly. Returns the best parameters and scores for this iteration.

dacapo.validate.parser