code: def __call__(self, data):
      raw_label = data["label"]
      segments_info = data["ann"]
  
      gt_ids = []
      gt_masks = []
      for seg in segments_info:
          cat_id = seg["category_id"]
          if not seg["iscrowd"]:
              gt_ids.append(cat_id)
              gt_masks.append(raw_label == seg["id"])
  
      data["gt_ids"] = gt_ids
      data["gt_masks"] = gt_masks
  
      return data
  
label_desc: Use image node_id 1 for calling the GenerateMaskFormerTrainTargets obj's underlying member method code with example usage: obj.__call__(data) and returns: data