def get_output_labels(opts, preds):
    """Convert predictions to labels."""
    processor = opts["pass_in"][0]
    labels = processor.get_labels()
    output_labels = []
    for prediction in preds:
        output_labels.append(labels[prediction])
    return output_labels