class_docstr: reference: https://github.com/LisaAnne/LocalizingMoments/blob/master/utils/eval.py
  https://github.com/LisaAnne/LocalizingMoments/blob/master/utils/data_processing.py
class_docstr_tok: ["reference",":","https",":","\/\/github.com\/LisaAnne\/LocalizingMoments\/blob\/master\/utils\/eval.py","https",":","\/\/github.com\/LisaAnne\/LocalizingMoments\/blob\/master\/utils\/data_processing.py"]
code: def __init__(self, config):
      super().__init__(config)
      # load targets.
      with open(config.dataset.test_path) as data_file:
          self.test_data = json.load(data_file)
  
imports: import os
  import random
  import json
  import numpy
  import torch
  import pickle
  import math
  from tqdm import tqdm
label_desc: Use image node_id 1 to create a new DiDeMoPredictor object from inherited base classes: Predictor with example: obj = DiDeMoPredictor(config)