class_docstr: Test ACAR-NET model
code: def test_acar(self):
      configs = {
          "backbone": {
              "model_name": "slowfast101",
              "alpha": 4,
              "beta": 0.125,
          },
          "neck": {
              "model_name": "basic",
              "num_classes": 3,
          },
          "head": {
              "model_name": "acar",
              "width": 2304,
              "num_classes": 3,
          },
      }
      model = AcarNet(configs)
      out = model(self.data)
  
      self.assertTrue(out["outputs"].shape == (1, 3))
      self.assertTrue(out["filenames"] == ["dummy video"])
      self.assertTrue(out["mid_times"] == [5])
      self.assertTrue(out["num_rois"] == 1)
      self.assertTrue(
          (out["targets"] == torch.tensor([[1, 0, 0]])).all()
      )
      self.assertTrue(out["bboxes"] == [[0.0, 0.0, 3.0, 4.0]])
  
imports: import unittest
  import torch
  from towhee.models.acar_net import AcarNet
label_desc: Use image node_id 2 for calling the TestNeck obj's underlying member method code with example usage: obj.test_acar() without return types