import pickle


def load_metrics(filestr:str):
    """
    Load metric dict from filestr
    Args:
        filestr (str): strig to save dict to

    Return:
        metrics (dict): loaded metrics
    
    """
    # pickle load
    with open(filestr, 'rb') as f:
        metrics = pickle.load(f) 
    return metrics