def METHOD_NAME():
    for anno in obj["annotations"]:
        file_name = anno["file_name"]
        segments = anno["segments_info"]
        input = os.path.join(panoptic_root, file_name)
        output = os.path.join(sem_seg_root, file_name)
        yield input, output, segments