get_all_result_paths#

gaitmap_challenges.results.get_all_result_paths(challenge_class_or_full_name: Union[Type[Challenge], Challenge, str], base_path: Union[str, Path]) Dict[Tuple[str, ...], List[Path]][source]#

Return a dictionary with the folder path for all results for the specified challenge.

Parameters:
challenge_class_or_full_name

The class or an instance of the class you are searching for. Alternatively you can also pass the full name of the results folder of the class. This is usually, constructed by the module name and the class name (challenge_class.__module__ + "." + challenge_class.__name__). This might be helpful, if you want to load results of a challenge that has been renamed or removed.

base_path

The base path to search for the results. The folder structure will be searched recursively.