class_docstr: Utilities for calculating IOU/IOS based match for given ObjectPredictions
class_docstr_tok: ["Utilities","for","calculating","IOU\/IOS","based","match","for","given","ObjectPredictions"]
code: def __init__(
      self,
      match_threshold: float = 0.5,
      match_metric: str = "IOU",
      class_agnostic: bool = True,
  ):
      self.match_threshold = match_threshold
      self.class_agnostic = class_agnostic
      self.match_metric = match_metric
  
      check_requirements(["torch"])
  
imports: import logging
  from typing import List
  import torch
  from sahi.postprocess.utils import ObjectPredictionList, has_match, merge_object_prediction_pair
  from sahi.prediction import ObjectPrediction
  from sahi.utils.import_utils import check_requirements
label_desc: Use image node_id 1 to create a new PostprocessPredictions object  with example: obj = PostprocessPredictions(match_threshold, match_metric, class_agnostic)