dacapo.validate

Attributes

logger

Functions

validate(run_name[, iteration, datasets_config])

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

validate_run(run, iteration[, datasets_config])

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

Module Contents

dacapo.validate.logger
dacapo.validate.validate(run_name: str, iteration: int = 0, datasets_config=None)

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, datasets_config=None)

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.