class_docstr: Unit tests for the ImageSeq2Seq Agent.
  
  Mostly testing that the agent cooperates with tasks accordingly.
class_docstr_tok: ["Unit","tests","for","the","ImageSeq2Seq","Agent",".","Mostly","testing","that","the","agent","cooperates","with","tasks","accordingly","."]
docstr: Test that model correctly handles image task.
  
  Early Fusion
docstr_tok: ["Test","that","model","correctly","handles","image","task",".","Early","Fusion"]
code: def test_image_task_early_fusion(self):
      """
      Test that model correctly handles image task.
  
      Early Fusion
      """
      args = BASE_ARGS.copy()
      args.update(IMAGE_ARGS)
      args.update(EARLY_FUSION_ARGS)
  
      valid, test = testing_utils.train_model(args)
      self.assertLessEqual(
          valid["ppl"],
          8.6,
          "failed to train image_seq2seq on image task",
      )
  
file_path: ParlAI/tests/test_image_seq2seq.py
imports: import unittest
  import parlai.utils.testing
label_desc: Use image node_id 4 for calling the TestImageSeq2Seq obj's underlying member method code with example usage: obj.test_image_task_early_fusion() without return types