class_docstr: Teacher for Image Grounded Conversations (IGC) Task.
  
  See https://arxiv.org/abs/1701.08251 for more details
class_docstr_tok: ["Teacher","for","Image","Grounded","Conversations","(","IGC",")","Task",".","See","https",":","\/\/arxiv.org\/abs\/1701.08251","for","more","details"]
code: def __init__(self, opt: Opt, shared: PT.TShared = None):
      self.blank_image_id = "0000"
      super().__init__(opt, shared)
      if shared is not None:
          self.valid_image_ids = shared["valid_image_ids"]
      if self.image_features_dict is not None:
          self.image_features_dict[
              self.blank_image_id
          ] = self.blank_image_features
      self.multi_ref = opt.get("igc_multi_ref", False)
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  import csv
  import os
  from abc import ABC, abstractmethod
  from PIL import Image
  from typing import List, Dict, Any
  from parlai.core.build_data import download_multiprocess
  from parlai.core.params import Opt
  from parlai.core.teachers import AbstractImageTeacher
  from parlai.utils.io import PathManager
  import parlai.utils.typing
label_desc: Use image node_id 1 to create a new IGCTeacher object from inherited base classes: AbstractImageTeacher with example: obj = IGCTeacher(opt, shared)