class_docstr: MDGender data collected on Mechanical Turk.
class_docstr_tok: ["MDGender","data","collected","on","Mechanical","Turk","."]
code: def get(self, episode_idx, entry_idx=0):
      ex = self.data[episode_idx]
      class_type = ex["class_type"]
      ex["label_candidates"] = gend_utils.ALL_CANDS[class_type]
      if "unknown" in ex["labels"][0]:
          ex["labels"] = gend_utils.UNKNOWN_LABELS[class_type]
      return Message(ex)
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.message import Message
  from parlai.core.teachers import FixedDialogTeacher
  from parlai.tasks.md_gender.build import build
  import parlai.tasks.md_gender.utils
  import json
  import os
  import random
label_desc: Use image node_id 5 for calling the MdGenderTeacher obj's underlying member method code with example usage: obj.get(episode_idx, entry_idx) and returns: Message