import json


def load_hyp(filepath):
    """
    Load hyper-parameters from filepath

    Args:
        filepath: filepath of .json file loaded into dict.

    Returns:
        dict: hyper-parameters
    """
    with open(filepath, 'r') as f:
        return json.load(f)