def get_eval_metrics(eval_actor):
    """
    Run the actor to generate metrics

    :param eval_actor:
        evaluation actor
    :return: dict
        dictionary of eval metrics
    """

    eval_actor.run()
    results = {}
    for metric in eval_actor.metrics:
        results[metric.name] = metric.result()

    return results