evaluate
- neuralhydrology.evaluation.evaluate.start_evaluation(cfg: Config, run_dir: Path, epoch: int = None, period: str = 'test')
Start evaluation of a trained network
- Parameters:
cfg (Config) – The run configuration, read from the run directory.
run_dir (Path) – Path to the run directory.
epoch (int, optional) – Define a specific epoch to evaluate. By default, the weights of the last epoch are used.
period ({'train', 'validation', 'test'}, optional) – The period to evaluate, by default ‘test’.