code: def _path(opt):
      build(opt)
      dt = opt["datatype"].split(":")[0]
  
      if dt == "valid":
          dt = "val"
      elif dt != "train" and dt != "test":
          raise RuntimeError("Not valid datatype.")
  
      prefix = os.path.join(opt["datapath"], "CLEVR", "CLEVR_v1.0")
      questions_path = os.path.join(
          prefix, "questions", "CLEVR_" + dt + "_questions.json"
      )
      images_path = os.path.join(prefix, "images", dt)
  
      return questions_path, images_path
  
file_path: ParlAI/parlai/tasks/clevr/agents.py
imports: from parlai.core.teachers import DialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import json
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: _path(opt) and returns: questions_path,  images_path