docstr: Test init standard RoI head.
docstr_tok: ["Test","init","standard","RoI","head","."]
code: def test_init(self):
      """Test init standard RoI head."""
      # Normal Mask R-CNN RoI head
      roi_head_cfg = _fake_roi_head()
      roi_head = MODELS.build(roi_head_cfg)
      self.assertTrue(roi_head.with_bbox)
      self.assertTrue(roi_head.with_mask)
  
      # Mask R-CNN RoI head with shared_head
      roi_head_cfg = _fake_roi_head(with_shared_head=True)
      roi_head = MODELS.build(roi_head_cfg)
      self.assertTrue(roi_head.with_bbox)
      self.assertTrue(roi_head.with_mask)
      self.assertTrue(roi_head.with_shared_head)
  
file_path: mmdetection/tests/test_models/test_roi_heads/test_standard_roi_head.py
imports: import unittest
  from unittest import TestCase
  import torch
  from mmengine.config import Config
  from parameterized import parameterized
  from mmdet.registry import MODELS
  from mmdet.testing import demo_mm_inputs, demo_mm_proposals
  from mmdet.utils import register_all_modules
label_desc: Use image node_id 1 for calling the TestStandardRoIHead obj's underlying member method code with example usage: obj.test_init() without return types