code: def test_parse_gt_instance_info():
      packed_inputs = demo_mm_inputs()["data_samples"]
      (
          batch_gt_instances,
          batch_gt_instances_ignore,
          batch_img_metas,
      ) = unpack_gt_instances(packed_inputs)
      assert len(batch_gt_instances) == len(packed_inputs)
      assert len(batch_gt_instances_ignore) == len(packed_inputs)
      assert len(batch_img_metas) == len(packed_inputs)
  
file_path: mmdetection/tests/test_models/test_utils/test_misc.py
imports: import copy
  import pytest
  import torch
  from mmengine.structures import InstanceData
  from mmdet.models.utils import empty_instances, filter_gt_instances, rename_loss_dict, reweight_loss_dict, unpack_gt_instances
  from mmdet.testing import demo_mm_inputs
label_desc: Use image node_id 1 for calling a global function with example usage: test_parse_gt_instance_info() without return types