class_docstr: History of changes:
  python 2.x to python 3.x.
  merge utils.py into eval to save one file.
  reference: https://github.com/LisaAnne/LocalizingMoments/blob/master/utils/eval.py
  Code to evaluate your results on the DiDeMo dataset.
class_docstr_tok: ["History","of","changes",":","python","2.x","to","python","3.x",".","merge","utils.py","into","eval","to","save","one","file",".","reference",":","https",":","\/\/github.com\/LisaAnne\/LocalizingMoments\/blob\/master\/utils\/eval.py","Code","to","evaluate","your","results","on","the","DiDeMo","dataset","."]
code: def _iou(self, pred, gt):
      intersection = max(
          0, min(pred[1], gt[1]) + 1 - max(pred[0], gt[0])
      )
      union = max(pred[1], gt[1]) + 1 - min(pred[0], gt[0])
      return float(intersection) / union
  
imports: import numpy
  import json
label_desc: Use image node_id 4 for calling the DiDeMoMetric obj's underlying member method code with example usage: obj._iou(pred, gt) and returns: unknown