import json


def load_params(file):
    """
    Load the train config parameters.
    Args:
        file (str): path to config file
    Returns:
        out (dict): config dictionary
    """
    with open(file, "r") as f:
        out = json.load(f)
    return out