class_docstr: Provide the personality in the `text` field, and the captions in the `labels` field.
  
  To specify your own path to the YFCC100m images, please use the `--yfcc-path`
  command line argument.
class_docstr_tok: ["Provide","the","personality","in","the","`","text","`","field",",","and","the","captions","in","the","`","labels","`","field",".","To","specify","your","own","path","to","the","YFCC100m","images",",","please","use","the","`","--","yfcc-path","`","command","line","argument","."]
code: def _setup_data(self, data_path, personalities_data_path):
      print("loading: " + data_path)
      with PathManager.open(data_path) as f:
          self.data = json.load(f)
      with PathManager.open(personalities_data_path) as f:
          self.personalities = json.load(f)
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.teachers import FixedDialogTeacher
  from parlai.core.image_featurizers import ImageLoader
  from parlai.utils.io import PathManager
  from .build import build
  import json
  import os
label_desc: Use image node_id 3 for calling the PersonalityCaptionsTeacher obj's underlying member method code with example usage: obj._setup_data(data_path, personalities_data_path) without return types