def _load_keras_model(model_network_path, model_weight_path, custom_objects
    =None):
    """Load a keras model from disk

    Parameters
    ----------
    model_network_path: str
        Path where the model network path is (json file)

    model_weight_path: str
        Path where the model network weights are (hd5 file)

    custom_objects:
        A dictionary of layers or other custom classes 
        or functions used by the model

    Returns
    -------
    model: A keras model
    """
    from keras.models import model_from_json
    import json
    json_file = open(model_network_path, 'r')
    loaded_model_json = json_file.read()
    json_file.close()
    if not custom_objects:
        custom_objects = {}
    loaded_model = model_from_json(loaded_model_json, custom_objects=
        custom_objects)
    loaded_model.load_weights(model_weight_path)
    return loaded_model
