class_docstr: Filter invalid annotations.
  
  Args:
      min_gt_bbox_wh (tuple[int]): Minimum width and height of ground truth
          boxes.
class_docstr_tok: ["Filter","invalid","annotations",".","Args",":","min_gt_bbox_wh","(","tuple","[","int","]",")",":","Minimum","width","and","height","of","ground","truth","boxes","."]
code: def __call__(self, results):
      assert "gt_bboxes" in results
      gt_bboxes = results["gt_bboxes"]
      w = gt_bboxes[:, 2] - gt_bboxes[:, 0]
      h = gt_bboxes[:, 3] - gt_bboxes[:, 1]
      keep = (w > self.min_gt_bbox_wh[0]) & (h > self.min_gt_bbox_wh[1])
      if not keep.any():
          return None
      else:
          keys = (
              "gt_bboxes",
              "gt_labels",
              "gt_masks",
              "gt_semantic_seg",
          )
          for key in keys:
              if key in results:
                  results[key] = results[key][keep]
          return results
  
imports: import os.path
  import mmcv
  import numpy
  import pycocotools.mask
  from mmdet.core import BitmapMasks, PolygonMasks
  from ..builder import PIPELINES
label_desc: Use image node_id 2 for calling the FilterAnnotations obj's underlying member method code with example usage: obj.__call__(results) and returns: None, results