def add_info_to_save_path(save_path, info):
    """Add more information to save path"""
    fname, fextension = os.path.splitext(save_path)
    fname = '_'.join([fname, info])
    save_path = ''.join([fname, fextension])
    return save_path
Add more information to save path
contrib/PanopticDeepLab/core/predict.py