def load_model_configurations(model):
    """
    Arguments:
        model: A SSD model with PriorBox layers that indicate the
        parameters of the prior boxes to be created.

    Returns:
        model_configurations: A dictionary of the model parameters.
    """
    model_configurations = []
    for layer in model.layers:
        layer_type = layer.__class__.__name__
        if layer_type == 'PriorBox':
            layer_data = {}
            layer_data['layer_width'] = layer.input_shape[1]
            layer_data['layer_height'] = layer.input_shape[2]
            layer_data['min_size'] = layer.min_size
            layer_data['max_size'] = layer.max_size
            layer_data['aspect_ratios'] = layer.aspect_ratios
            layer_data['num_prior'] = len(layer.aspect_ratios)
            model_configurations.append(layer_data)
    return model_configurations