class_docstr: Simplest base roi head including one bbox head and one mask head.
class_docstr_tok: ["Simplest","base","roi","head","including","one","bbox","head","and","one","mask","head","."]
docstr: Initialize ``bbox_head``
docstr_tok: ["Initialize","``","bbox_head","``"]
code: def init_bbox_head(self, bbox_roi_extractor, bbox_head):
      """Initialize ``bbox_head``"""
      self.bbox_roi_extractor = build_roi_extractor(bbox_roi_extractor)
      self.bbox_head = build_head(bbox_head)
  
imports: import torch
  from mmdet.core import bbox2result, bbox2roi, build_assigner, build_sampler
  from ..builder import HEADS, build_head, build_roi_extractor
  from .base_roi_head import BaseRoIHead
  from .test_mixins import BBoxTestMixin, MaskTestMixin
label_desc: Use image node_id 2 for calling the StandardRoIHead obj's underlying member method code with example usage: obj.init_bbox_head(bbox_roi_extractor, bbox_head) without return types