class_docstr: ImageSeq2seqAgent Agent.
  
  Combines a transformer generator with images.
class_docstr_tok: ["ImageSeq2seqAgent","Agent",".","Combines","a","transformer","generator","with","images","."]
docstr: Override to add one arg.
docstr_tok: ["Override","to","add","one","arg","."]
code: def add_cmdline_args(
      cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None
  ) -> ParlaiParser:
      """
      Override to add one arg.
      """
      TransformerGeneratorAgent.add_cmdline_args(
          parser, partial_opt=partial_opt
      )
      TorchImageAgent.add_cmdline_args(parser, partial_opt=partial_opt)
      group = parser.add_argument_group("Image Encoder Args")
      group.add_argument(
          "--include-image-token",
          type="bool",
          default=True,
          recommended=True,
          help="if true, include image token (or no image token) for each example",
      )
      group.add_argument(
          "--image-fusion-type",
          type=str,
          default="late",
          choices=[f.value for f in FusionType],
          help="which fusion type to use",
      )
      return group
  
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 2 for calling the ImageSeq2seqAgent obj's underlying member method code with example usage: obj.add_cmdline_args(cls, parser, partial_opt) and returns: group