code: def intersection_over_union_thresholds(y_true, y_pred):
      iouts = []
      for y_t, y_p in list(zip(y_true, y_pred)):
          iouts.append(compute_eval_metric(y_t, y_p))
      return np.mean(iouts)
  
file_path: nni/examples/trials/kaggle-tgs-salt/metrics.py
imports: import numpy
  from pycocotools import mask
  from utils import get_segmentations
label_desc: Use image node_id 6 for calling a global function with example usage: intersection_over_union_thresholds(y_true, y_pred) and returns: np