def build_ins_embed_branch(cfg, input_shape):
    """
    Build a instance embedding branch from `cfg.MODEL.INS_EMBED_HEAD.NAME`.
    """
    name = cfg.MODEL.INS_EMBED_HEAD.NAME
    return INS_EMBED_BRANCHES_REGISTRY.get(name)(cfg, input_shape)

    Build a instance embedding branch from `cfg.MODEL.INS_EMBED_HEAD.NAME`.
    
EVA-02/det/projects/Panoptic-DeepLab/panoptic_deeplab/panoptic_seg.py