def METHOD_NAME(results, show_progress=False):
    """Convert all proposals to a final dict(json) format.
    Args:
        results (list[dict]): All proposals.
        show_progress (bool): Whether to show the progress bar.
            Defaults: False.
    Returns:
        dict: The final result dict. E.g.
        .. code-block:: Python
            dict(video-1=[dict(segment=[1.1,2.0]. score=0.9),
                          dict(segment=[50.1, 129.3], score=0.6)])
    """
    result_dict = {}
    print('Convert proposals to json format')
    if show_progress:
        prog_bar = mmcv.ProgressBar(len(results))
    for result in results:
        video_name = result['video_name']
        result_dict[video_name[2:]] = result['proposal_list']
        if show_progress:
            prog_bar.update()
    return result_dict