class_docstr: Image Chat gender.
class_docstr_tok: ["Image","Chat","gender","."]
code: def get(self, episode_idx, entry_idx=0):
      text, label, image_num, class_type = self.data[episode_idx]
      if class_type == "self" or class_type == "partner":
          # not TRUE neutral, sample all labels
          labels = gend_utils.UNKNOWN_LABELS[class_type]
      else:
          labels = [label]
      return Message(
          {
              "text": text,
              "labels": labels,
              "label_candidates": self.label_candidates[class_type],
              "episode_done": True,
              "id": "ImageChat Gender",
              "image_id": image_num,
          }
      )
  
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
  from parlai.tasks.image_chat.agents import ImageChatTeacher
  import parlai.tasks.md_gender.utils
  from copy import deepcopy
  import json
  import os
  import random
label_desc: Use image node_id 5 for calling the ImageChatTeacher obj's underlying member method code with example usage: obj.get(episode_idx, entry_idx) and returns: Message