tumourkit.postprocessing.extract_tensorboard.extract_all_scalars

tumourkit.postprocessing.extract_tensorboard.extract_all_scalars(path: str) Dict[str, Dict[str, float]]

Extracts all the best values of all metrics and files. Tensorboard files must be under a folder. Folders’ names will be used as dictionary keys.

Parameters:

path (str) – Path to folder containing folders containing tensorboard files.

Returns:

Dictionary with folders’ names as keys, and another dictionary as values. That dictionary contains metrics and keys and maximums as values.

Return type:

Dict[str, Dict[str, float]]