code: def build_backbone(
      config: dict[str, Any]
  ) -> ResNetFPN_8_2 | ResNetFPN_16_4:
      if config["backbone_type"] == "ResNetFPN":
          if config["resolution"] == (8, 2):
              return ResNetFPN_8_2(config["resnetfpn"])
          elif config["resolution"] == (16, 4):
              return ResNetFPN_16_4(config["resnetfpn"])
  
      raise ValueError(
          f"LOFTR.BACKBONE_TYPE {config['backbone_type']} with res {config['resolution']} not supported."
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: build_backbone(config) and returns: ResNetFPN_8_2, ResNetFPN_16_4