code: def __init__(self, args):
      super().__init__(args)
      config = utils.load_config(args)
      self.mmtask = Task.config_task(config)
      self.mmtask.build_dataset()
      self.mmtask.build_model()
      self.mmtask.build_loss()
  
file_path: fairseq/examples/MMPT/mmpt/tasks/fairseqmmtask.py
imports: import random
  from fairseq.tasks import LegacyFairseqTask, register_task
  from .task import Task
  from .retritask import RetriTask
  from ..datasets import FairseqMMDataset
  from ..None import utils
label_desc: Use image node_id 3 to create a new FairseqMMTask object from inherited base classes: LegacyFairseqTask with example: obj = FairseqMMTask(args)