class_docstr: ImageSeq2seqAgent Agent.
  
  Combines a transformer generator with images.
class_docstr_tok: ["ImageSeq2seqAgent","Agent",".","Combines","a","transformer","generator","with","images","."]
docstr: Override to build appropriate model.
docstr_tok: ["Override","to","build","appropriate","model","."]
code: def build_model(self) -> ImageSeq2seqModel:  # type: ignore
      """
      Override to build appropriate model.
      """
      self.model = ImageSeq2seqModel(self.opt, self.dict)
      if self.opt["embedding_type"] != "random":
          self._copy_embeddings(
              self.model.embeddings.weight, self.opt["embedding_type"]
          )
      return self.model
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from typing import Dict, List, Tuple
  import torch
  from .modules import ImageSeq2seqModel, FusionType
  from parlai.agents.transformer.transformer import TransformerGeneratorAgent
  from parlai.core.dict import DictionaryAgent
  from parlai.core.torch_agent import Batch
  from parlai.core.torch_image_agent import TorchImageAgent
label_desc: Use image node_id 1 for calling the ImageSeq2seqAgent obj's underlying member method code with example usage: obj.build_model() and returns: self